aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJoonsoo Kim <[email protected]>2013-12-02 08:49:39 +0000
committerPekka Enberg <[email protected]>2014-02-08 10:10:32 +0000
commit9cef2e2b6589406562bf12a9a633d7d7630340a1 (patch)
tree1d3d05a81c2a786451be20a97f09ea13ae70b81b /tools/perf/scripts/python/sctop.py
parentLinus 3.14-rc1 (diff)
downloadkernel-9cef2e2b6589406562bf12a9a633d7d7630340a1.tar.gz
kernel-9cef2e2b6589406562bf12a9a633d7d7630340a1.zip
slab: factor out calculate nr objects in cache_estimate
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Acked-by: Christoph Lameter <[email protected]> Signed-off-by: Joonsoo Kim <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions