Re: [PATCH v5 05/12] zsmalloc: use bit_spin_lock

From: Sergey Senozhatsky
Date: Sun May 15 2016 - 21:19:47 EST


On (05/09/16 11:20), Minchan Kim wrote:
>
> Use kernel standard bit spin-lock instead of custom mess. Even, it has
> a bug which doesn't disable preemption. The reason we don't have any
> problem is that we have used it during preemption disable section
> by class->lock spinlock. So no need to go to stable.
>
> Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>

good change.

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>

-ss