mm: a few small updates for radix-swap
authorHugh Dickins <hughd@google.com>
Wed, 3 Aug 2011 23:21:27 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Aug 2011 00:25:24 +0000 (14:25 -1000)
commit31475dd611209413bace21651a400afb91d0bd9d
tree679c1cb33e211a4f2e5c0f47bb836393c9454d35
parent69f07ec938712b58755add82dd3d0b35f01317cc
mm: a few small updates for radix-swap

Remove PageSwapBacked (!page_is_file_cache) cases from
add_to_page_cache_locked() and add_to_page_cache_lru(): those pages now
go through shmem_add_to_page_cache().

Remove a comment on maximum tmpfs size from fsstack_copy_inode_size(),
and add a comment on swap entries to invalidate_mapping_pages().

And mincore_page() uses find_get_page() on what might be shmem or a
tmpfs file: allow for a radix_tree_exceptional_entry(), and proceed to
find_get_page() on swapper_space if so (oh, swapper_space needs #ifdef).

Signed-off-by: Hugh Dickins <hughd@google.com>
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>
fs/stack.c
mm/filemap.c
mm/mincore.c
mm/truncate.c