summaryrefslogtreecommitdiff
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2025-03-03 05:03:18 +0300
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 08:06:35 +0300
commit9724bef96df47ba0dec907416cfa0b5e1cd7202e (patch)
tree4766936e4cdf9dc67f4777c713500e09f2043bcc /include/linux/memory_hotplug.h
parentd7fdc5a620aeecf96074cf8c1b852539b12cb067 (diff)
downloadlinux-9724bef96df47ba0dec907416cfa0b5e1cd7202e.tar.xz
zram: filter out recomp targets based on priority
Do no select for post processing slots that are already compressed with same or higher priority compression algorithm. This should save some memory, as previously we would still put those entries into corresponding post-processing buckets and filter them out later in recompress_slot(). Link: https://lkml.kernel.org/r/20250303022425.285971-10-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Hillf Danton <hdanton@sina.com> Cc: Kairui Song <ryncsn@gmail.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Yosry Ahmed <yosry.ahmed@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions