From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8EA5C4CED1 for ; Thu, 3 Oct 2019 19:09:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9859020873 for ; Thu, 3 Oct 2019 19:09:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9859020873 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 318E26B0005; Thu, 3 Oct 2019 15:09:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A2D66B0006; Thu, 3 Oct 2019 15:09:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 11A896B0007; Thu, 3 Oct 2019 15:09:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0169.hostedemail.com [216.40.44.169]) by kanga.kvack.org (Postfix) with ESMTP id DE20E6B0005 for ; Thu, 3 Oct 2019 15:09:31 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 6889D87F1 for ; Thu, 3 Oct 2019 19:09:31 +0000 (UTC) X-FDA: 76003412142.30.angle31_702c1ce712b33 X-HE-Tag: angle31_702c1ce712b33 X-Filterd-Recvd-Size: 7626 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Thu, 3 Oct 2019 19:09:30 +0000 (UTC) Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x93IqPVr031308; Thu, 3 Oct 2019 15:09:00 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vdkqyfe0t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Oct 2019 15:09:00 -0400 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x93IqbGP031821; Thu, 3 Oct 2019 15:08:59 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vdkqyfdyu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Oct 2019 15:08:59 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x93IttdU020332; Thu, 3 Oct 2019 19:08:57 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma04dal.us.ibm.com with ESMTP id 2v9y58j9yd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 03 Oct 2019 19:08:57 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x93J8taL56426992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 3 Oct 2019 19:08:55 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 62F4878064; Thu, 3 Oct 2019 19:08:55 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 843A97805F; Thu, 3 Oct 2019 19:08:46 +0000 (GMT) Received: from leobras.br.ibm.com (unknown [9.18.235.190]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Thu, 3 Oct 2019 19:08:46 +0000 (GMT) Message-ID: <43648fe1bb12a7627a14a49405ec18289f3dbbe8.camel@linux.ibm.com> Subject: Re: [PATCH v5 10/11] mm/Kconfig: Adds config option to track lockless pagetable walks From: Leonardo Bras To: Qian Cai Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Arnd Bergmann , "Aneesh Kumar K.V" , Christophe Leroy , Nicholas Piggin , Andrew Morton , Mahesh Salgaonkar , Reza Arbab , Santosh Sivaraj , Balbir Singh , Thomas Gleixner , Greg Kroah-Hartman , Mike Rapoport , Allison Randal , Jason Gunthorpe , Dan Williams , Vlastimil Babka , Christoph Lameter , Logan Gunthorpe , Andrey Ryabinin , Alexey Dobriyan , Souptick Joarder , Mathieu Desnoyers , Ralph Campbell , Jesper Dangaard Brouer , Jann Horn , Davidlohr Bueso , "Peter Zijlstra (Intel)" , Ingo Molnar , Christian Brauner , Michal Hocko , Elena Reshetova , Roman Gushchin , Andrea Arcangeli , Al Viro , "Dmitry V. Levin" , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , Song Liu , Bartlomiej Zolnierkiewicz , Ira Weiny , "Kirill A. Shutemov" , John Hubbard , Keith Busch Date: Thu, 03 Oct 2019 16:08:45 -0300 In-Reply-To: <08c43176fcf46c768d474f7d3620e07f3f71b140.camel@linux.ibm.com> References: <20191003013325.2614-11-leonardo@linux.ibm.com> <88228CE0-81B2-4F2F-8C1D-F3376DB25A16@lca.pw> <08c43176fcf46c768d474f7d3620e07f3f71b140.camel@linux.ibm.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-VybRhkfSRVywgfzTr45C" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-10-03_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=27 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-1908290000 definitions=main-1910030155 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: --=-VybRhkfSRVywgfzTr45C Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2019-10-03 at 16:04 -0300, Leonardo Bras wrote: > On Wed, 2019-10-02 at 22:08 -0400, Qian Cai wrote: > > Can=E2=80=99t this name and all those new *lockless* function names be = shorter?=20 > > There are many functions name with *_locked, so how about dropping=20 > > lockless at all, i.e., PAGE_TABLE_WALK_TRACKING blah blah? >=20 > Thanks for the feedback! >=20 > Well, in this case it only tracks the 'lockless pagetable walks'. In > this approach, the 'locked pagetable walks' don't need to be tracked. So, using PAGE_TABLE_WALK_TRACKING would not be very accurate (as said before, there are the locked ones). --=-VybRhkfSRVywgfzTr45C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIyBAABCAAdFiEEMdeUgIzgjf6YmUyOlQYWtz9SttQFAl2WRz0ACgkQlQYWtz9S ttT+TA/1FSJfZVTq1e5fFW17J/V8Y4SiHa0K5xFAs/GWhR8M24yCyXUhMXz/liQT IDOViKxoVkc1e1NwSBePEDZkaEvl0XtMPPsGMbZ5Jb1XIJglqGKhr5mBSFXzd8nt XjImtXNN8JGR/Tx/2C9ThYfdcqmbDmntDsmSBZyIZXqOJUiICJmrpZHx6/ZPmCPb k0fdWqC8GE8H8DbvbW72a5iOh176EogGVduOryjx/N+vD9+xYhxj28lIWimRs/+A pesIWhFCE0ZuRDz6/Ud/WSun2aqad1x/fLgW0xMuSTA9/pies0PdZtAMS/89yrRY b4YPZM3iL6y/stdTfRc7Eu3S+gdCnp4avKWE+84MlwnM1Zq0p8+MTClRyX+tJbc2 s1QcmkOW8T70VkqnsBqGKkSa3RqNDDUySpuCJZKe9nr3ZRqyXEuXRwJkFmESAR9a xmsGrPIG0vSKCijHdPsANOc4iXPN63YfxZBR0iszJvBadcBqVgMBQ/w4HnXQo8pX h1jZSPaxosfSTWo/UHP3fQAhYMFZpRlx/EK0/LyS1EbO0acl+ZLUkJ0Hcg3fm2BM VEhDNmphdCspj/+XWFscz3iSnZAaofFRHvxN3GDtz6VW0gahUaEUjpDuCk2C4fhL 9qPLuxKZoGWQG5F2t4QGqxz17CsUEP4YCWsvt4DjW46qMhreVQ== =8m6H -----END PGP SIGNATURE----- --=-VybRhkfSRVywgfzTr45C--