diff options
author | Naoya Horiguchi <[email protected]> | 2012-03-05 14:59:20 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-03-05 15:49:43 -0800 |
commit | e6ca7b89dc76abf77c80887fed54e0a60c87c0a8 (patch) | |
tree | edfd8cce78c61cbf6cd9e738662ad25baa2b2bc0 /net/lapb/lapb_timer.c | |
parent | 1c641e84719429bbfe62a95ed3545ee7fe24408f (diff) |
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 <[email protected]>
Reviewed-by: Daisuke Nishimura <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions