Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp365050ybt; Wed, 8 Jul 2020 01:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwPCBB4IyrlMXt+ZRhDVHHMB7/ml2dymylnIo506NbnZZsSEquQ409ZP2zypLkQayfa9aB X-Received: by 2002:a50:bf09:: with SMTP id f9mr6371243edk.249.1594197844834; Wed, 08 Jul 2020 01:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594197844; cv=none; d=google.com; s=arc-20160816; b=K3/xdJhzP6u/JPwMOlM9yis+OcZ8guAEQSqd+fO1TvYvNXCGVMs7AT/+oS/cW5dPCP d3qWimjL2ihFrZ3KvNUOyrbpKSHRDswfZZ555FALT+1dgTqisX/pqBx+vIIodKgnqvkp XJBYaZyBw/BYdU9uR7XeSMdJUzeXKILX55BKtW/5ZUHL0HLW4U4KHYEk+SsoSaptQnpF bo/0ZFHVZBhZYutDcHr6dEUypGZwmbFEfuJKGCl5eOpO2WyXRzYSgwhZhaIHC7UAfyi7 8HAEkG7FfmUM7Mf0O+S5ANFSag6+xvkHo7GiGU+KGzuLmxB66QOO+U6KRAX2Qx1P4Mkb Hb+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=S32XUF0JR40sOoi2lYA1Jt2WlEew0VlzGuJ1gwYbhcU=; b=yf6iLsyXpQGwgFbvLHx0yuZF42bGLXlVGZH2j6XmigTUN3DhfZZi9aaAYecEhKTgbX hnzcGWwudtMyY0BMwwZfxEr0G92yNlz/WZSCW6zuQvEWkkfavzfBUi4KOj8b5u8F0XG/ odkmZxY2t2fZoD6xqiNAFhgyMVR1q1HMr71ZOFqfCDqIh0ZRxUr2mfKOGQx3dnyB3bac qc1xRfFHMHsPCV2TO/ptQDBw16kiDMngakWCLgPoLu+TzL2k4oQ9UOtqLaRu95bQwnhA RyUJjC4mbiVMp/kmjlq4Bgbbm4sLwHgb8kJ5I7TrGIVj91c7VBtDJy4meZELpP7xJ85k FutQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=s35D4xLy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s25si6961046edx.197.2020.07.08.01.43.41; Wed, 08 Jul 2020 01:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=s35D4xLy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728250AbgGHIl4 (ORCPT + 99 others); Wed, 8 Jul 2020 04:41:56 -0400 Received: from casper.infradead.org ([90.155.50.34]:57892 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbgGHIl4 (ORCPT ); Wed, 8 Jul 2020 04:41:56 -0400 X-Greylist: delayed 512 seconds by postgrey-1.27 at vger.kernel.org; Wed, 08 Jul 2020 04:41:55 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=S32XUF0JR40sOoi2lYA1Jt2WlEew0VlzGuJ1gwYbhcU=; b=s35D4xLyvnkYZU4YcWf+9NjRFK qAGphMcWSVhYkoJc8aLz2jh51DodnUkao4ypjVVvtlh5fcEIsMpk6UdXCby8V2qdZA2gSM5VTx11d ejcgbzpQUBqwaR783SFDpecCm7eKgFdgoL4fECk9Qy30bGquxIr924rnywePvDNug5/GOl4mBqpIf yhYDUhFAoVr+rZtcrUHltrwRK7hN7qpv20iSjblFycKsMdUlki/Rvlx96bthlu203IRbVK2rv+Qyz fe6lVWcbvlapeHkqUU1cRfS5tDsGg7qLw6HfdJdLjRTuWghNE1CJUhLCA2Q5UKIbSoK08YZTIcjeG XvtIgbgA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jt5df-0008Ee-Rc; Wed, 08 Jul 2020 08:41:16 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id BAE6F304D58; Wed, 8 Jul 2020 10:41:06 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id A7CDA203D34DE; Wed, 8 Jul 2020 10:41:06 +0200 (CEST) Date: Wed, 8 Jul 2020 10:41:06 +0200 From: Peter Zijlstra To: Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, Waiman Long , Anton Blanchard , Boqun Feng , kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , virtualization@lists.linux-foundation.org, Will Deacon Subject: Re: [PATCH v3 0/6] powerpc: queued spinlocks and rwlocks Message-ID: <20200708084106.GE597537@hirez.programming.kicks-ass.net> References: <20200706043540.1563616-1-npiggin@gmail.com> <24f75d2c-60cd-2766-4aab-1a3b1c80646e@redhat.com> <1594101082.hfq9x5yact.astroid@bobo.none> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1594101082.hfq9x5yact.astroid@bobo.none> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 07, 2020 at 03:57:06PM +1000, Nicholas Piggin wrote: > Yes, powerpc could certainly get more performance out of the slow > paths, and then there are a few parameters to tune. Can you clarify? The slow path is already in use on ARM64 which is weak, so I doubt there's superfluous serialization present. And Will spend a fair amount of time on making that thing guarantee forward progressm, so there just isn't too much room to play. > We don't have a good alternate patching for function calls yet, but > that would be something to do for native vs pv. Going by your jump_label implementation, support for static_call should be fairly straight forward too, no? https://lkml.kernel.org/r/20200624153024.794671356@infradead.org