Re: Warning from swake_up_all in 4.14.15-rt13 non-RT

From: Peter Zijlstra
Date: Mon Mar 12 2018 - 10:29:45 EST


On Mon, Mar 12, 2018 at 03:11:07PM +0100, Sebastian Andrzej Siewior wrote:
> I assumed you complained about the unbounded list-walk with interrupts
> disabled (which is cheap but unbound is unbound). So here I suggested I
> move 20 entries off that list a time and enable interrupts again so an
> interrupt could set need_resched.
> But if we get invoked !preemptible then nothing changes.

Right, so any !preemptible invocation of wake_all is bad.