diff options
| author | 2009-01-06 14:39:27 -0800 | |
|---|---|---|
| committer | 2009-01-06 15:59:02 -0800 | |
| commit | cbf84b7add8103b92aaa84928e335df726bfc8da (patch) | |
| tree | 04e3ef2b3f70e5bf647f4f4c8c3ce50dd12e8474 /include/linux/writeback.h | |
| parent | mm: make page_lock_anon_vma() static (diff) | |
| download | wireguard-linux-cbf84b7add8103b92aaa84928e335df726bfc8da.tar.xz wireguard-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 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions
