diff options
author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2023-06-14 16:13:12 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-20 01:19:33 +0200 |
commit | cb0551adf92dac140d0e0958b4aaa860348bedbb (patch) | |
tree | 0c2969742b04f707b5195b3fcc7b0bdedcaa1b83 /sound/sh | |
parent | mm: zswap: invaldiate entry after writeback (diff) | |
download | linux-cb0551adf92dac140d0e0958b4aaa860348bedbb.tar.xz linux-cb0551adf92dac140d0e0958b4aaa860348bedbb.zip |
zram: further limit recompression threshold
Recompression threshold should be below huge-size-class watermark. Any
object larger than huge-size-class is a "huge object" and occupies a
whole physical page on the zsmalloc side, in other words it's
incompressible, as far as zsmalloc is concerned.
Link: https://lkml.kernel.org/r/20230614141338.3480029-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Suggested-by: Brian Geffon <bgeffon@google.com>
Acked-by: Brian Geffon <bgeffon@google.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions