Skip to content

zram bug fix and lock redesign

Minchan Kim lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7zram: fix race between reset and flushing pending workdrivers/block/zram/zram_drv.c+2 -23 replies
2/7zram: delay pending free request in read pathdrivers/block/zram/zram_drv.c+0 -10 replies
3/7zram: remove unnecessary freedrivers/block/zram/zram_drv.c+0 -80 replies
4/7zram: use atomic operation for statdrivers/block/zram/zram_drv.c drivers/block/zram/zram_drv.h+16 -204 replies
5/7zram: introduce zram->tb_lockdrivers/block/zram/zram_drv.c drivers/block/zram/zram_drv.h+23 -60 replies
6/7zram: remove workqueue for freeing removed pending slotdrivers/block/zram/zram_drv.c drivers/block/zram/zram_drv.h+6 -583 replies
7/7zram: remove unnecessary lockdrivers/block/zram/zram_drv.c drivers/block/zram/zram_drv.h+9 -122 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchSergey Senozhatsky
1/7T-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] zram bug fix and lock redesign

This patchset includes a bug fix and clean up patchset to resolve lock mess.
Finally, last patch enhances write path significantly.

Minchan Kim (7):
zram: fix race between reset and flushing pending work
zram: delay pending free request in read path
zram: remove unnecessary free
zram: use atomic operation for stat
zram: introduce zram->tb_lock
zram: remove workqueue for freeing removed pending slot
zram: remove unnecessary lock

 drivers/block/zram/zram_drv.c | 126 +++++++++++++++---------------------------
 drivers/block/zram/zram_drv.h |  27 ++-------
 2 files changed, 51 insertions(+), 102 deletions(-)
Signature · 1 line
1.8.4.3