Re: [patch] drivers/zram: Don't disable preemption in zcomp_stream_get/put()

From: Sebastian Andrzej Siewior
Date: Mon Oct 17 2016 - 12:29:12 EST


On 2016-10-17 18:19:00 [+0200], Mike Galbraith wrote:
> I used a local lock first, but lockdep was unhappy with it. Ok, back
> to the drawing board. Seems to work, but...

locallock can be taken recursively so unless preemption was already
disabled, lockdep shouldn't complain. But then from the small context
it should not be taken recursively.

> -Mike

Sebastian