summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2012-07-31 23:45:36 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-08-01 01:42:48 (GMT)
commit827a03d22e776ff7838b5b2780b71092e0b9de1e (patch)
treec05e8f590a6b4c1dbd4c517cbe2b5a622ea326d6 /arch
parent7d188958bb64708577aa77e6b1ad68abbf0480f5 (diff)
downloadlinux-827a03d22e776ff7838b5b2780b71092e0b9de1e.tar.xz
mm: memcg: move swapin charge functions above callsites
Charging cache pages may require swapin in the shmem case. Save the forward declaration and just move the swapin functions above the cache charging functions. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: David Rientjes <rientjes@google.com> Cc: Hugh Dickins <hughd@google.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Wanpeng Li <liwp.linux@gmail.com> Cc: Mel Gorman <mel@csn.ul.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions