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

From: Waiman Long
Date: Wed Jan 22 2025 - 13:23:24 EST



On 1/22/25 1:16 PM, Peter Zijlstra wrote:
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.

OK, I will reword the change log and send a v2.

Thanks,
Longman