diff options
| author | Johannes Weiner <[email protected]> | 2011-03-23 16:42:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-23 19:46:30 -0700 |
| commit | 7ec99d6213b579a84c85ad37f2aa8ded4857c53c (patch) | |
| tree | d05bb74c5ca30650ff0622cd1ffd2fd6ddecebd6 /tools/perf/scripts/python | |
| parent | 7ffd4ca7a2cdd7a18f0b499a4e9e0e7cf36ba018 (diff) | |
memcg: unify charge/uncharge quantities to units of pages
There is no clear pattern when we pass a page count and when we pass a
byte count that is a multiple of PAGE_SIZE.
We never charge or uncharge subpage quantities, so convert it all to page
counts.
Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions