Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8378098ybi; Thu, 6 Jun 2019 11:13:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwR1w22WaDsT6zgpg+uI3PMAY9lve9bJyMzVr0ih0IggLhSrLc/vw5ETusX00QycVYwxbLx X-Received: by 2002:a17:90a:9201:: with SMTP id m1mr1185641pjo.38.1559844824456; Thu, 06 Jun 2019 11:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559844824; cv=none; d=google.com; s=arc-20160816; b=VyMTjWbGmjKea1jCpPAVPAGTkU9u5fw/8w4OKDdQEhyqQHycySXBWyosOPswmPu4XO Qud88YIhKAFibuHxXQYIxequrJ2ohafS/dYSsnSkUEdsOFJOXidaVmq1Q+nuYcDczxAU IIjiFT/GN+ZB++MyWq6k0WXofAKI2yIf+fPsBhm4OQ6slEUANfnbt2Aa0+Xp5SlNrV+O elId38XZ26SJ6hYZc8006APRKGvqzuf0JHBV1MQcn6QVZ9q6Tjx1GIcxwYDZuYWrP9DC sVwJp1ofJUsVQ58uld9dTwqpjJffqW8BbIJzFOcdGYqy36jXPha3GjVQw7XkuKLQ3Ssa 56NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=ketKTVwbtklQIJXqAbX+H6nxp1mYN2KsNnWPbZLX+qw=; b=IcDBOuF05KopUloRpnMQZ8wiMMblbnDOUgA/QBs7hxsNpOYZfLLB1z2punYn7UIpYp 46FV0FBctoZLtiySR3m2ql3MfO+SzG2FOowlHVnr8+6Vwao3uWYBqBqGLy+b5MeqCrYN woU91sDLJTw3A0tZSXbK3xuQWqnj268nttZkAwArglZWSmV6dPu4hdfaQsXo028saEvT mpZPg1bbpyZnhFQubbtv1cBBJ8WeWEHN30taHkr7qQxu6/VAzLGXa7oa4/xPPzbc/X/c 3yuzdbHdnphThRkrb6vqHSuOpzwozdTWiZhJtzYHKKs5RYvvXsbP3gjPiyK8dwIixRsi f71g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=YU740Z7r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si2390899ple.240.2019.06.06.11.13.27; Thu, 06 Jun 2019 11:13:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=YU740Z7r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729290AbfFFPXe (ORCPT + 99 others); Thu, 6 Jun 2019 11:23:34 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:36368 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727309AbfFFPXe (ORCPT ); Thu, 6 Jun 2019 11:23:34 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x56F8dwU141560; Thu, 6 Jun 2019 15:22:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2018-07-02; bh=ketKTVwbtklQIJXqAbX+H6nxp1mYN2KsNnWPbZLX+qw=; b=YU740Z7r5N9HPgb5jCMJGJJWLnq7dSsMg5QxEXG0zQCxJcR7gw8s1v6LJfzQbwYEbjXC 2QL7hJTBixRhxTYbEXatWnvAlC5kz5Y6xlDf8NbEDayqlICWqzF8zPWRoXu2ZAEbdCN1 oKRHmUUruLaY3qONu64FgBq98cOi7l/RcCgBW0jmNfjOkGeUrHAji/AWDVhYNg9nM/I/ wvohiWVeAYfvCdQql/iinBNGVsDJmjZY3dxYQEL3g9esS/9Sj2PwkGi7oGO8UTV+Oihc bWnqx4nhAdQDqTZpXXr4xCMzKR5zG/0q4a1bplhhUK4C2EtuKZ9lvX66MWobqI40ytRl 6Q== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2suj0qs2uc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Jun 2019 15:22:10 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x56FKgBb070053; Thu, 6 Jun 2019 15:22:09 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2swnhcrbhx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Jun 2019 15:22:09 +0000 Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x56FLnw4008838; Thu, 6 Jun 2019 15:21:49 GMT Received: from [10.11.111.157] (/10.11.111.157) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Jun 2019 08:21:48 -0700 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: [PATCH v2 3/5] locking/qspinlock: Introduce CNA into the slow path of qspinlock From: Alex Kogan In-Reply-To: <20190605204003.GC3402@hirez.programming.kicks-ass.net> Date: Thu, 6 Jun 2019 11:21:48 -0400 Cc: Waiman Long , linux@armlinux.org.uk, mingo@redhat.com, will.deacon@arm.com, arnd@arndb.de, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Gleixner , bp@alien8.de, hpa@zytor.com, x86@kernel.org, Steven Sistare , Daniel Jordan , dave.dice@oracle.com, Rahul Yadav Content-Transfer-Encoding: quoted-printable Message-Id: <6426D627-77EE-471C-B02A-A85271B666E9@oracle.com> References: <20190329152006.110370-1-alex.kogan@oracle.com> <20190329152006.110370-4-alex.kogan@oracle.com> <60a3a2d8-d222-73aa-2df1-64c9d3fa3241@redhat.com> <20190402094320.GM11158@hirez.programming.kicks-ass.net> <6AEDE4F2-306A-4DF9-9307-9E3517C68A2B@oracle.com> <20190403160112.GK4038@hirez.programming.kicks-ass.net> <20190605204003.GC3402@hirez.programming.kicks-ass.net> To: Peter Zijlstra X-Mailer: Apple Mail (2.3259) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9280 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906060104 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9280 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906060104 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> Also, the paravirt code is under arch/x86, while CNA is generic (not >> x86-specific). Do you still want to see CNA-related patching = residing >> under arch/x86? >>=20 >> We still need a config option (something like NUMA_AWARE_SPINLOCKS) = to >> enable CNA patching under this config only, correct? >=20 > There is the static_call() stuff that could be generic; I posted a new > version of that today (x86 only for now, but IIRC there's arm64 = patches > for that around somewhere too). The static_call technique appears as the more desirable long-term = approach, but I think it would be prudent to keep the patches decoupled = for now so we can move forward with less entanglements. So unless anyone objects, we will work on plugging into the existing = patching for pv. And we will keep that code under arch/x86, but will be open for any = suggestion to move it elsewhere. Thanks! =E2=80=94 Alex