diff options
| author | Sergey Senozhatsky <[email protected]> | 2024-03-29 18:39:41 +0900 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:30 -0700 |
| commit | 34efe1c3b688944d9817a5faaab7aad870182c59 (patch) | |
| tree | 4fe669a824efd2bd77bef4fd225a2abaa7baaba9 /tools/perf/scripts/python/bin | |
| parent | ba42b524a0408b5f92bd41edaee1ea84309ab9ae (diff) | |
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/[email protected]
Signed-off-by: Sergey Senozhatsky <[email protected]>
Acked-by: Brian Geffon <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions