Re: [PATCH] vt: Fix sleeping functions called from atomic context

From: Tetsuo Handa
Date: Tue Nov 16 2021 - 20:56:11 EST


On 2021/11/16 23:49, Fabio M. De Francesco wrote:
> - if (in_interrupt())
> + if (!preemptible())
> return count;

preemptible() is "an unconditional 0" if CONFIG_PREEMPT_COUNT=n .
Is preemptible() really what we want? ;-)