diff options
author | Hugh Dickins <hugh@veritas.com> | 2009-01-06 23:39:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-07 00:59:02 +0100 |
commit | cbf84b7add8103b92aaa84928e335df726bfc8da (patch) | |
tree | 04e3ef2b3f70e5bf647f4f4c8c3ce50dd12e8474 /mm/page_alloc.c | |
parent | mm: make page_lock_anon_vma() static (diff) | |
download | linux-cbf84b7add8103b92aaa84928e335df726bfc8da.tar.xz linux-cbf84b7add8103b92aaa84928e335df726bfc8da.zip |
mm: further cleanup page_add_new_anon_rmap
Moving lru_cache_add_active_or_unevictable() into page_add_new_anon_rmap()
was good but stupid: we can and should SetPageSwapBacked() there too; and
we know for sure that this anonymous, swap-backed page is not file cache.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions