aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/node.c
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2008-10-19 03:26:50 +0000
committerLinus Torvalds <[email protected]>2008-10-20 15:52:31 +0000
commitba470de43188cdbff795b5da43a1474523c6c2fb (patch)
tree0477460fa8c3e61edd9f1534cd2193656e586f8b /drivers/base/node.c
parentmlock: downgrade mmap sem while populating mlocked regions (diff)
downloadkernel-ba470de43188cdbff795b5da43a1474523c6c2fb.tar.gz
kernel-ba470de43188cdbff795b5da43a1474523c6c2fb.zip
mmap: handle mlocked pages during map, remap, unmap
Originally by Nick Piggin <[email protected]> Remove mlocked pages from the LRU using "unevictable infrastructure" during mmap(), munmap(), mremap() and truncate(). Try to move back to normal LRU lists on munmap() when last mlocked mapping removed. Remove PageMlocked() status when page truncated from file. [[email protected]: cleanup] [[email protected]: fix double unlock_page()] [[email protected]: split LRU: munlock rework] [[email protected]: mlock: fix __mlock_vma_pages_range comment block] [[email protected]: remove bogus kerneldoc token] Signed-off-by: Nick Piggin <[email protected]> Signed-off-by: Lee Schermerhorn <[email protected]> Signed-off-by: Rik van Riel <[email protected]> Signed-off-by: KOSAKI Motohiro <[email protected]> Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/base/node.c')
0 files changed, 0 insertions, 0 deletions