diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2012-08-01 01:45:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-01 03:42:48 +0200 |
commit | 827a03d22e776ff7838b5b2780b71092e0b9de1e (patch) | |
tree | c05e8f590a6b4c1dbd4c517cbe2b5a622ea326d6 /arch/s390 | |
parent | mm: memcg: only check for PageSwapCache when uncharging anon (diff) | |
download | linux-827a03d22e776ff7838b5b2780b71092e0b9de1e.tar.xz linux-827a03d22e776ff7838b5b2780b71092e0b9de1e.zip |
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/s390')
0 files changed, 0 insertions, 0 deletions