Files
linux/drivers
Sergey Senozhatsky 34efe1c3b6 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>
2024-04-25 20:56:30 -07:00
..
2024-04-25 20:55:49 -07:00
2024-03-07 21:52:03 +00:00
2024-03-07 20:37:04 +00:00
2024-04-25 20:55:49 -07:00
2024-04-25 20:55:49 -07:00
2024-03-07 20:32:47 +00:00
2024-04-09 17:01:01 -07:00
2024-03-07 20:32:38 +00:00
2024-03-27 13:17:15 +01:00
2024-04-25 20:55:49 -07:00
2024-04-25 20:55:49 -07:00
2024-04-25 20:55:49 -07:00
2024-04-25 20:55:49 -07:00
2024-04-25 20:56:12 -07:00
2024-04-25 20:55:49 -07:00