aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAlexey Romanov <[email protected]>2022-11-09 20:50:42 +0900
committerAndrew Morton <[email protected]>2022-11-30 15:58:52 -0800
commit7c2af309abd24ff4e313246bf9b68f398d95c871 (patch)
tree75af9d314190c3812a1ec8a7ba37b2997ef01321 /tools/perf/scripts/python/flamegraph.py
parentf24ee92cbe13242758635e654b2422dbf4912e4b (diff)
zram: add size class equals check into recompression
It makes no sense for us to recompress the object if it will be in the same size class. We anyway don't get any memory gain. But, at the same time, we get a CPU time overhead when inserting this object into zspage and decompressing it afterwards. [senozhatsky: rebased and fixed conflicts] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexey Romanov <[email protected]> Signed-off-by: Sergey Senozhatsky <[email protected]> Acked-by: Minchan Kim <[email protected]> Cc: Nhat Pham <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Suleiman Souhlal <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions