summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2024-03-29 18:39:41 +0900
committerAndrew Morton <akpm@linux-foundation.org>2024-04-25 20:56:30 -0700
commit34efe1c3b688944d9817a5faaab7aad870182c59 (patch)
tree4fe669a824efd2bd77bef4fd225a2abaa7baaba9 /tools/perf/scripts/python/export-to-sqlite.py
parentba42b524a0408b5f92bd41edaee1ea84309ab9ae (diff)
downloadlinux-34efe1c3b688944d9817a5faaab7aad870182c59.tar.gz
linux-34efe1c3b688944d9817a5faaab7aad870182c59.zip
zram: add max_pages param to recompression
Introduce "max_pages" param to recompress device attribute which sets an upper limit on the number of entries (pages) zram attempts to recompress (in this particular recompression call). S/W recompression can be quite expensive so limiting the number of pages recompress touches can be quite helpful. Link: https://lkml.kernel.org/r/20240329094050.2815699-1-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Acked-by: Brian Geffon <bgeffon@google.com> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions