aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSeth Jennings <[email protected]>2013-01-25 11:46:18 -0600
committerGreg Kroah-Hartman <[email protected]>2013-01-29 23:16:42 -0500
commitd662b8eba94e9f6d4c036719dbf629ef0c9309cf (patch)
treec57b4750cf0c14723ca1a5c7f6850e1ae155c760 /tools/perf/scripts/python/netdev-times.py
parente21545449b2b96775065f237063a224fff21ed9d (diff)
staging: zsmalloc: make CLASS_DELTA relative to PAGE_SIZE
Right now ZS_SIZE_CLASS_DELTA is hardcoded to be 16. This creates 254 classes for systems with 4k pages. However, on PPC64 with 64k pages, it creates 4095 classes which is far too many. This patch makes ZS_SIZE_CLASS_DELTA relative to PAGE_SIZE so that regardless of the page size, there will be the same number of classes. Acked-by: Nitin Gupta <[email protected]> Acked-by: Minchan Kim <[email protected]> Signed-off-by: Seth Jennings <[email protected]> Acked-by: Dan Magenheimer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions