diff options
| author | Hugh Dickins <[email protected]> | 2007-01-29 21:24:08 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-01-30 08:33:32 -0800 |
| commit | 701dfbc1cbdd42b814dd76a885c4b73f97011d08 (patch) | |
| tree | 4a8e8185616e7cc9c115de564bd2c6d626662217 /include/linux | |
| parent | 8339f0008c47cdd921c73f6d53d5588b5484f93c (diff) | |
[PATCH] mm: mremap correct rmap accounting
Nick Piggin points out that page accounting on MIPS multiple ZERO_PAGEs
is not maintained by its move_pte, and could lead to freeing a ZERO_PAGE.
Instead of complicating that move_pte, just forget the minor optimization
when mremapping, and change the one thing which needed it for correctness
- filemap_xip use ZERO_PAGE(0) throughout instead of according to address.
[ "There is no block device driver one could use for XIP on mips
platforms" - Carsten Otte ]
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Carsten Otte <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions