Re: [patch] drivers/zram: Don't disable preemption in zcomp_stream_get/put()
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2016-10-17 16:29:09
Also in:
lkml
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2016-10-17 16:29:09
Also in:
lkml
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