Re: [PATCH v2] pstore: Revert pmsg_lock back to a normal mutex

From: Steven Rostedt
Date: Mon Mar 06 2023 - 10:29:37 EST


On Mon, 6 Mar 2023 09:03:23 +0800
Hillf Danton <hdanton@xxxxxxxx> wrote:

> PS what sense made by spinning on owner until need_resched() with preempt
> disabled in the non-rt context?

Not sure what the question you have here is? If need_resched() is set, we
want to schedule out.

-- Steve