Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp972511ybt; Wed, 8 Jul 2020 16:57:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP9SEVFwGl5oAfseXClZJRJ6V1vaOidROmz5hOVcT0G/GmDWryrD7cA4wuyUw2co2xH9h7 X-Received: by 2002:a50:f08c:: with SMTP id v12mr68230650edl.119.1594252631831; Wed, 08 Jul 2020 16:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594252631; cv=none; d=google.com; s=arc-20160816; b=xItyGZLlG/1IQVnXQnbnwZOuPQ8e25g/CN8ZPRh4kEbRd9AK9brhbu3NSnw7+H/ZjA UI+9j69QfbPu2QxWVIBb3xYLx5ZuPK+xZygTuPgXScmAJFQE772iWlYFHdvpqEZCbh1I mQ+8GIXKOard7DqhpfBuPlwlhqeqNlX/NZHS2JZtjVK/QjIoQswIFBoqQ4AA6lx5tnBh 7lUatxajPDrLaRtfPuCGSZ6ypQtxWPwG+ST9owFuzubMs1+sBkCHMyls8IsdJNg66KlA +7laXOh8JEkVfG8vquwU+UVHFfiD+KvGBHWA3hDxG2/J1SW9sOJL09YnWVJeJLJnVMfg A0eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=DtrdIs9PFK4eESgNJshnXKkRcQvqs7rbt6XjlBm0KbQ=; b=QPf5e279nt3X/+MLLtphNpldQARlv3T/9x2b5FrjodzSGD+OAyLoQeldyHYYaojpNU bp+hWbf5g52STjedw8P9crfzHOtCweLjVG/kelcPYEgD+vTVx2+XuLWG9SzDgj7v5I73 47X1N72B80RDq9w0EgMzLwkUAcmnMd28ns6S9+kS0j6btRi6RWRYOrqcdgUdbis2fKDb Qp+LqcNZ1J931/YB8EIBmHSLvljLOQ6wmsLTSmU0yobBffpaa0y3oqOe6ClzaimCPac1 VNHGLuCC20U2lNtmMX/DJS2Lw2JuZoIrpVtQR94f8ZhAOfHkF1s3JuJKf6XfkvaEtTwu 9b8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gVEkId32; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw19si825054ejb.752.2020.07.08.16.56.48; Wed, 08 Jul 2020 16:57:11 -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=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gVEkId32; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726287AbgGHXyk (ORCPT + 99 others); Wed, 8 Jul 2020 19:54:40 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:52750 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725982AbgGHXyk (ORCPT ); Wed, 8 Jul 2020 19:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594252479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DtrdIs9PFK4eESgNJshnXKkRcQvqs7rbt6XjlBm0KbQ=; b=gVEkId32pSu3TsCKcuMDerd9OCvfEATEpSGmSEv25aqpxmzrCH0oOwDVuR+QRSSDMKQaT2 ZD6t+JX2Bi90jgfiRuCbey+okavXUkgiQkAKyuukHSNsoG7EbcJJ6s/PehPi/rZtI4kpZR LDRve4/NU7wrtMEnBnEq+S5Z9GcWf4U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-148-uUzGLLqxNBSRxBpviTCmyg-1; Wed, 08 Jul 2020 19:54:37 -0400 X-MC-Unique: uUzGLLqxNBSRxBpviTCmyg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DA4D98027B1; Wed, 8 Jul 2020 23:54:35 +0000 (UTC) Received: from llong.remote.csb (ovpn-116-205.rdu2.redhat.com [10.10.116.205]) by smtp.corp.redhat.com (Postfix) with ESMTP id 986922C2BC; Wed, 8 Jul 2020 23:54:34 +0000 (UTC) Subject: Re: [PATCH v3 0/6] powerpc: queued spinlocks and rwlocks To: Peter Zijlstra , Nicholas Piggin Cc: linuxppc-dev@lists.ozlabs.org, 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 References: <20200706043540.1563616-1-npiggin@gmail.com> <24f75d2c-60cd-2766-4aab-1a3b1c80646e@redhat.com> <1594101082.hfq9x5yact.astroid@bobo.none> <20200708084106.GE597537@hirez.programming.kicks-ass.net> From: Waiman Long Organization: Red Hat Message-ID: Date: Wed, 8 Jul 2020 19:54:34 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200708084106.GE597537@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/8/20 4:41 AM, Peter Zijlstra wrote: > 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 > Speaking of static_call, I am also looking forward to it. Do you have an idea when that will be merged? Cheers, Longman