aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2009-09-21 17:02:10 -0700
committerLinus Torvalds <[email protected]>2009-09-22 07:17:32 -0700
commite178dfde3952192cf44eeb0612882f01fc96c0a9 (patch)
tree874b8dd5c2ebba6889621b14e01b7d503a098e4d /tools/perf/scripts/python
parentb4028260334e1ecf63fb5e0a95d65bb2db02c1ec (diff)
ksm: move pages_sharing updates
The pages_shared count is incremented and decremented when adding a node to and removing a node from the stable tree: easy to understand. But the pages_sharing count was hard to follow, being adjusted in various places: increment and decrement it when adding to and removing from the stable tree. And the pages_sharing variable used to include the pages_shared, then those were subtracted when shown in the pages_sharing sysfs file: now keep it as an exclusive count of leaves hanging off the stable tree nodes, throughout. Signed-off-by: Hugh Dickins <[email protected]> Acked-by: Izik Eidus <[email protected]> Acked-by: Andrea Arcangeli <[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