aboutsummaryrefslogtreecommitdiff
path: root/mm/prio_tree.c
diff options
context:
space:
mode:
authorGravatar Hugh Dickins <hugh@veritas.com> 2008-02-04 22:28:49 -0800
committerGravatar Linus Torvalds <torvalds@woody.linux-foundation.org> 2008-02-05 09:44:15 -0800
commitf000944d03a5b74ab3c92b2fcdf0e944cc898065 (patch)
tree07b64eeed416f3869a3fc4f06d00bd1fb1321f20 /mm/prio_tree.c
parenttmpfs: move swap_state stats update (diff)
downloadlinux-f000944d03a5b74ab3c92b2fcdf0e944cc898065.tar.gz
linux-f000944d03a5b74ab3c92b2fcdf0e944cc898065.tar.bz2
linux-f000944d03a5b74ab3c92b2fcdf0e944cc898065.zip
tmpfs: shuffle add_to_swap_caches
add_to_swap_cache doesn't amount to much: merge it into its sole caller read_swap_cache_async. But we'll be needing to call __add_to_swap_cache from shmem.c, so promote it to the new add_to_swap_cache. Both were static, so there's no interface confusion to worry about. And lose that inappropriate "Anon pages are already on the LRU" comment in the merging: they're not already on the LRU, as Nick Piggin noticed. Signed-off-by: Hugh Dickins <hugh@veritas.com> No-problems-with: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/prio_tree.c')
0 files changed, 0 insertions, 0 deletions