]> Git Repo - linux.git/commit
mmap: handle mlocked pages during map, remap, unmap
authorRik van Riel <[email protected]>
Sun, 19 Oct 2008 03:26:50 +0000 (20:26 -0700)
committerLinus Torvalds <[email protected]>
Mon, 20 Oct 2008 15:52:31 +0000 (08:52 -0700)
commitba470de43188cdbff795b5da43a1474523c6c2fb
tree0477460fa8c3e61edd9f1534cd2193656e586f8b
parent8edb08caf68184fb170f4f69c7445929e199eaea
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]>
mm/fremap.c
mm/internal.h
mm/mlock.c
mm/mmap.c
mm/mremap.c
mm/truncate.c
This page took 0.055413 seconds and 4 git commands to generate.