kernel-ark/Documentation/vm
Hugh Dickins 39b5f29ac1 mm: remove vma arg from page_evictable
page_evictable(page, vma) is an irritant: almost all its callers pass
NULL for vma.  Remove the vma arg and use mlocked_vma_newpage(vma, page)
explicitly in the couple of places it's needed.  But in those places we
don't even need page_evictable() itself!  They're dealing with a freshly
allocated anonymous page, which has no "mapping" and cannot be mlocked yet.

Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: Rik van Riel <riel@redhat.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michel Lespinasse <walken@google.com>
Cc: Ying Han <yinghan@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-10-09 16:22:55 +09:00
..
.gitignore
00-INDEX
active_mm.txt
balance
cleancache.txt
frontswap.txt
highmem.txt
hugetlbpage.txt
hwpoison.txt
ksm.txt
locking
numa
numa_memory_policy.txt
overcommit-accounting
page_migration
pagemap.txt
slub.txt
transhuge.txt
unevictable-lru.txt mm: remove vma arg from page_evictable 2012-10-09 16:22:55 +09:00