diff options
author | Wanpeng Li <[email protected]> | 2013-07-04 08:33:22 +0800 |
---|---|---|
committer | Pekka Enberg <[email protected]> | 2013-07-07 18:37:46 +0300 |
commit | 0fa8103be4c20f893486c533e4c6dfbc5ccddeb4 (patch) | |
tree | 890b6eb373acf23232c6f05fdd5fb90ea511c83b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 069e2b351de67e7a837b15b3d26c65c19b790cc3 (diff) |
mm/slab: Fix drain freelist excessively
The drain_freelist is called to drain slabs_free lists for cache reap,
cache shrink, memory hotplug callback etc. The tofree parameter should
be the number of slab to free instead of the number of slab objects to
free.
This patch fix the callers that pass # of objects. Make sure they pass #
of slabs.
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Wanpeng Li <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions