Re: [PATCH v4 0/3] zram: Replace bit spinlocks with a spinlock_t.
From: Jens Axboe
Date: Fri Sep 06 2024 - 10:52:05 EST
On Fri, 06 Sep 2024 16:14:42 +0200, Sebastian Andrzej Siewior wrote:
> this is follow up to the previous posting, making the lock
> unconditionally. The original problem with bit spinlock is that it
> disabled preemption and the following operations (within the atomic
> section) perform operations that may sleep on PREEMPT_RT. Mike expressed
> that he would like to keep using zram on PREEMPT_RT.
>
> v3…v4: https://lore.kernel.org/linux-block/20240705125058.1564001-1-bigeasy@xxxxxxxxxxxxx
> - Inline lock init into zram_meta_alloc().
>
> [...]
Applied, thanks!
[1/3] zram: Replace bit spinlocks with a spinlock_t.
commit: 9518e5bfaae19447d657983d0628062ab6712610
[2/3] zram: Remove ZRAM_LOCK
commit: 6086aeb49e3d9e25165769b2a0a13ff67f98a1a2
[3/3] zram: Shrink zram_table_entry::flags.
commit: 68d20eb60efbdc80662efedeb088353e9c4aa17f
Best regards,
--
Jens Axboe