aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/blockdev
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2022-11-09 20:50:43 +0900
committerAndrew Morton <akpm@linux-foundation.org>2022-11-30 15:58:52 -0800
commit4942cf6ad07c487d24112ffbb27362f4e6b409b8 (patch)
tree721ff4ff6074399d674abe7d80c31688e655ac6d /Documentation/admin-guide/blockdev
parentzram: add size class equals check into recompression (diff)
downloadlinux-4942cf6ad07c487d24112ffbb27362f4e6b409b8.tar.gz
linux-4942cf6ad07c487d24112ffbb27362f4e6b409b8.zip
zram: remove redundant checks from zram_recompress()
Size class index comparison is powerful enough so we can remove object size comparisons. Link: https://lkml.kernel.org/r/20221109115047.2921851-10-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Acked-by: Minchan Kim <minchan@kernel.org> Cc: Alexey Romanov <avromanov@sberdevices.ru> Cc: Nhat Pham <nphamcs@gmail.com> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Suleiman Souhlal <suleiman@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide/blockdev')
0 files changed, 0 insertions, 0 deletions