diff options
author | KAMEZAWA Hiroyuki <[email protected]> | 2011-01-20 14:44:23 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-20 17:02:05 -0800 |
commit | e401f1761c0b01966e36e41e2c385d455a7b44ee (patch) | |
tree | 3b1ac772f0708ba0b1c963663ce6d0d0f79884b6 /net/lapb | |
parent | 20d9600cb407b0b55fef6ee814b60345c6f58264 (diff) |
memcg: modify accounting function for supporting THP better
mem_cgroup_charge_statisics() was designed for charging a page but now, we
have transparent hugepage. To fix problems (in following patch) it's
required to change the function to get the number of pages as its
arguments.
The new function gets following as argument.
- type of page rather than 'pc'
- size of page which is accounted.
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[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')
0 files changed, 0 insertions, 0 deletions