Andrew, This v6 rebases on to linux-next tag next-20210701, and adds a new third patch to use ATTRIBUTE_GROUPS. This goes run time tested with the LTP zram02 script. As per Minchan's request, sending this through you. Luis Chamberlain (3): zram: fix crashes with cpu hotplug multistate zram: fix deadlock with sysfs attribute usage and module removal zram: use ATTRIBUTE_GROUPS drivers/block/zram/zram_drv.c | 119 ++++++++++++++++++++++++---------- drivers/block/zram/zram_drv.h | 54 +++++++++++++++ 2 files changed, 139 insertions(+), 34 deletions(-) -- 2.27.0