diff options
| author | David Rientjes <[email protected]> | 2016-12-12 16:41:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-12 18:55:07 -0800 |
| commit | bf00bd3458041c4643a13d80fb349d29cb66eb63 (patch) | |
| tree | 743f4b6e25be9e4f5fbfb4d4c3472cd83b299cad /tools/perf/scripts/python | |
| parent | f728b0a5d72ae99c446f933912914a61254c03b6 (diff) | |
mm, slab: maintain total slab count instead of active count
Rather than tracking the number of active slabs for each node, track the
total number of slabs. This is a minor improvement that avoids active
slab tracking when a slab goes from free to partial or partial to free.
For slab debugging, this also removes an explicit free count since it
can easily be inferred by the difference in number of total objects and
number of active objects.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: David Rientjes <[email protected]>
Suggested-by: Joonsoo Kim <[email protected]>
Cc: Greg Thelen <[email protected]>
Cc: Aruna Ramakrishna <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[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