aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGanesh Mahendran <[email protected]>2016-07-28 15:47:51 -0700
committerLinus Torvalds <[email protected]>2016-07-28 16:07:41 -0700
commit64d90465f01325653deb8503aec4ca48ca3e9580 (patch)
treee11e75ae92f8f4df349115af4c136c46e75de330 /tools/perf/scripts/python/export-to-postgresql.py
parentb4fd07a0864a06d7a8b20a624d851736330d6fd8 (diff)
mm/zsmalloc: avoid calculate max objects of zspage twice
Currently, if a class can not be merged, the max objects of zspage in that class may be calculated twice. This patch calculate max objects of zspage at the begin, and pass the value to can_merge() to decide whether the class can be merged. Also this patch remove function get_maxobj_per_zspage(), as there is no other place to call this function. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ganesh Mahendran <[email protected]> Reviewed-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions