Re: [PATCH] locking/semaphore: Use wake_q to wake up processes outside lock critical section

From: Peter Zijlstra
Date: Wed Jan 22 2025 - 13:17:11 EST


On Wed, Jan 22, 2025 at 09:51:04AM -0500, Waiman Long wrote:

> Anyway, do you think this patch is worth taking? There are may be other
> cases like this that are hiding somewhere and showing up from time to time.

No objection to the patch, we've been moving wakeup out from under the
lock locks for a while now. It just needs a new rationale, since the
changelog is a bit iffy as-is.