aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2011-02-01 15:52:45 -0800
committerLinus Torvalds <[email protected]>2011-02-02 16:03:19 -0800
commit3751d60430fe4c26460a5ca8ad8672d32f93bcb1 (patch)
treef0bbefb76a4fc328ca441bd71fc49a5a091bb323 /net/lapb/lapb_iface.c
parent8493ae439f7038b502df1d687e61dde54c27ca92 (diff)
memcg: fix event counting breakage from recent THP update
Changes in e401f1761 ("memcg: modify accounting function for supporting THP better") adds nr_pages to support multiple page size in memory_cgroup_charge_statistics. But counting the number of event nees abs(nr_pages) for increasing counters. This patch fixes event counting. Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Reviewed-by: Johannes Weiner <[email protected]> Cc: Daisuke Nishimura <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions