Re: [PATCH] locking/mutex: Reduce chance of setting HANDOFF bit on unlocked mutex

From: Peter Zijlstra
Date: Wed Jun 30 2021 - 10:46:56 EST


On Wed, Jun 30, 2021 at 10:13:06AM -0400, Waiman Long wrote:

> Sorry, I missed the XXX comment:-)
>
> This is a generic problem as other waiters that go into the spinning loop
> also don't check for sigpending. On the other hand, I am fine with doing the
> pending signal check before doing the optimistic spinning.

True.. OK, lemme write changelogs for the 4 patches I've ended up with
and post them. Then we can look at that whole sigpending crud.