From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [RFC PATCH 02/21] Add a prelocked wake-up Date: Tue, 15 Oct 2019 23:33:16 +0100 Message-ID: <20274.1571178796@warthog.procyon.org.uk> References: <157117606853.15019.15459271147790470307.stgit@warthog.procyon.org.uk> <157117608708.15019.1998141309054662114.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: In-Reply-To: Content-ID: <20273.1571178796.1@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: Linus Torvalds Cc: dhowells@redhat.com, Tim Chen , Kan Liang , Casey Schaufler , Stephen Smalley , Greg Kroah-Hartman , Nicolas Dichtel , raven@themaw.net, Christian Brauner , keyrings@vger.kernel.org, linux-usb@vger.kernel.org, linux-block , LSM List , linux-fsdevel , Linux API , Linux Kernel Mailing List List-Id: linux-api@vger.kernel.org Linus Torvalds 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