Re: [PATCH v2 0/3] zram: Replace bit spinlocks with a spinlock_t.

From: Sergey Senozhatsky
Date: Thu Jul 04 2024 - 05:39:30 EST


On (24/06/20 17:28), 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.

Sorry for the delay.

I guess this works for me, FWIW:
Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>

Minchan, any objections?