summaryrefslogtreecommitdiffstats
path: root/mm/percpu-vm.c
diff options
context:
space:
mode:
authorNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>2012-03-05 23:59:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-06 00:49:43 +0100
commite6ca7b89dc76abf77c80887fed54e0a60c87c0a8 (patch)
treeedfd8cce78c61cbf6cd9e738662ad25baa2b2bc0 /mm/percpu-vm.c
parentmm: thp: fix BUG on mm->nr_ptes (diff)
downloadlinux-e6ca7b89dc76abf77c80887fed54e0a60c87c0a8.tar.xz
linux-e6ca7b89dc76abf77c80887fed54e0a60c87c0a8.zip
memcg: fix mapcount check in move charge code for anonymous page
Currently the charge on shared anonyous pages is supposed not to moved in task migration. To implement this, we need to check that mapcount > 1, instread of > 2. So this patch fixes it. Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Reviewed-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Hillf Danton <dhillf@gmail.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions