All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] zram: a set of trivial code cleanups and tweaks
@ 2026-12-01  9:06 Sergey Senozhatsky
  2026-12-01  9:06 ` [PATCH 1/7] zram: allocate comp only if it is supported Sergey Senozhatsky
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Sergey Senozhatsky @ 2026-12-01  9:06 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Minchan Kim, Richard Chang, linux-kernel, linux-block, linux-mm,
	Sergey Senozhatsky

Trivial cleanups, like allocating memory only after params
validation succeeds, dropping some goto labels, etc.  Most
of these were spotted during recent zcomp redesign work, but
were not critical to the redesign itself, so they are split
out.

Sergey Senozhatsky (7):
  zram: allocate comp only if it is supported
  zram: validate level before allocation in zstd_setup_params()
  zram: defer wb_ctl allocation in writeback_store()
  zram: remove out label in recompress_store()
  zram: create debugfs dir after register_blkdev() in zram_init()
  zram: respect 80-cols limit in zram_meta_alloc()
  zram: rename mark_idle() to mark_slots_idle()

 drivers/block/zram/backend_zstd.c | 24 ++++++-------
 drivers/block/zram/zcomp.c        | 12 +++----
 drivers/block/zram/zram_drv.c     | 57 ++++++++++++++-----------------
 3 files changed, 42 insertions(+), 51 deletions(-)

-- 
2.56.1.839.g22a8290db9-goog


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-12-01 20:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01  9:06 [PATCH 0/7] zram: a set of trivial code cleanups and tweaks Sergey Senozhatsky
2026-12-01  9:06 ` [PATCH 1/7] zram: allocate comp only if it is supported Sergey Senozhatsky
2026-12-01 20:45   ` + zram-allocate-comp-only-if-it-is-supported.patch added to mm-new branch Andrew Morton
2026-12-01  9:06 ` [PATCH 2/7] zram: validate level before allocation in zstd_setup_params() Sergey Senozhatsky
2026-12-01 20:45   ` + zram-validate-level-before-allocation-in-zstd_setup_params.patch added to mm-new branch Andrew Morton
2026-12-01  9:06 ` [PATCH 3/7] zram: defer wb_ctl allocation in writeback_store() Sergey Senozhatsky
2026-12-01 20:45   ` + zram-defer-wb_ctl-allocation-in-writeback_store.patch added to mm-new branch Andrew Morton
2026-12-01  9:06 ` [PATCH 4/7] zram: remove out label in recompress_store() Sergey Senozhatsky
2026-12-01 20:45   ` + zram-remove-out-label-in-recompress_store.patch added to mm-new branch Andrew Morton
2026-12-01  9:06 ` [PATCH 5/7] zram: create debugfs dir after register_blkdev() in zram_init() Sergey Senozhatsky
2026-12-01 20:45   ` + zram-create-debugfs-dir-after-register_blkdev-in-zram_init.patch added to mm-new branch Andrew Morton
2026-12-01  9:06 ` [PATCH 6/7] zram: respect 80-cols limit in zram_meta_alloc() Sergey Senozhatsky
2026-12-01 20:45   ` + zram-respect-80-cols-limit-in-zram_meta_alloc.patch added to mm-new branch Andrew Morton
2026-12-01  9:06 ` [PATCH 7/7] zram: rename mark_idle() to mark_slots_idle() Sergey Senozhatsky
2026-12-01 20:45   ` + zram-rename-mark_idle-to-mark_slots_idle.patch added to mm-new branch Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.