[RFC PATCH 02/21] Add a prelocked wake-up

David Howells dhowells at redhat.com
Tue Oct 15 22:33:16 UTC 2019


Linus Torvalds <torvalds at linux-foundation.org> wrote:

> > Add a wakeup call for a case whereby the caller already has the waitqueue
> > spinlock held.
> 
> That naming is crazy.

Sorry, yeah.  This is a bit hacked together at the moment and needs some more
tidying up.  I've had a lot of problems with performance regressions of up to
40% from seemingly simple changes involving moving locks around - it turns out
that the problem was that I was running with kasan enabled.

David



More information about the Linux-security-module-archive mailing list