2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/Documentation/vm
Hugh Dickins 63d6c5ad7f mm: remove try_to_munlock from vmscan
An unfortunate feature of the Unevictable LRU work was that reclaiming an
anonymous page involved an extra scan through the anon_vma: to check that
the page is evictable before allocating swap, because the swap could not
be freed reliably soon afterwards.

Now try_to_free_swap() has replaced remove_exclusive_swap_page(), that's
not an issue any more: remove try_to_munlock() call from
shrink_page_list(), leaving it to try_to_munmap() to discover if the page
is one to be culled to the unevictable list - in which case then
try_to_free_swap().

Update unevictable-lru.txt to remove comments on the try_to_munlock() in
shrink_page_list(), and shorten some lines over 80 columns.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Acked-by: Rik van Riel <riel@redhat.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Robin Holt <holt@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:03 -08:00
..
.gitignore .gitignore updates 2008-10-30 11:38:45 -07:00
00-INDEX doc: move vm/00-INDEX to Documentation/vm 2007-10-17 08:43:05 -07:00
balance Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hugetlbpage.txt Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
locking [PATCH] swap: swap_lock replace list+device 2005-09-05 00:05:42 -07:00
Makefile docsrc: build Documentation/ sources 2008-08-12 16:07:30 -07:00
numa Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
numa_memory_policy.txt Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
overcommit-accounting Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
page_migration Documentation/vm/page_migration: update reference to numa_maps + fix download URI 2008-08-15 08:35:42 -07:00
pagemap.txt pagemap: add documentation for pagemap 2008-06-06 11:29:14 -07:00
slabinfo.c Christoph has moved 2008-07-04 10:40:04 -07:00
slub.txt Christoph has moved 2008-07-04 10:40:04 -07:00
unevictable-lru.txt mm: remove try_to_munlock from vmscan 2009-01-06 15:59:03 -08:00