diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2012-04-24 22:22:33 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-26 08:22:35 +0400 |
commit | ce587e65e8c669eec61df7fb1c515720302e3cc0 (patch) | |
tree | fcda8e91609e1a74f629c1a7b0e95c3e76cab75e /arch/arm/mach-imx/Kconfig | |
parent | 4e1c2b284461fd8aa8d7b295a1e911fc4390755b (diff) | |
download | linux-ce587e65e8c669eec61df7fb1c515720302e3cc0.tar.xz |
mm: memcg: move pc lookup point to commit_charge()
None of the callsites actually need the page_cgroup descriptor
themselves, so just pass the page and do the look up in there.
We already had two bugs (6568d4a 'mm: memcg: update the correct soft
limit tree during migration' and 'memcg: fix Bad page state after
replace_page_cache') where the passed page and pc were not referring
to the same page frame.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
0 files changed, 0 insertions, 0 deletions