Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1771563ybn; Thu, 26 Sep 2019 01:53:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQBVSCnlDAjrN+dg/dq9bk+mm85K7Hef/BaENCAKQ5sm1zSm4L1k3llHx7FCpp/1wbWISC X-Received: by 2002:a50:9a05:: with SMTP id o5mr2375204edb.44.1569487993762; Thu, 26 Sep 2019 01:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569487993; cv=none; d=google.com; s=arc-20160816; b=wbw1lJU7/hEQVSZr6GoqeENGDxjLRu+TavV5klgJQnMZFgp6nzcs9BjwoITFt4IzYj dmL0LJubTnuhCRHVhURVi4BaCDFwDl7PuDfNNLEJNPnscelVmo0WZG3O3Uft7hwvXMoK bb3Rl7Ot8ARf7CEbApIXk8VvSkZmIpN1G1TR+A0GqOnIikmgmW3Zh2G3tJQWQE0+SIo9 D310EnXXxGUcfi4VX/Tjb2U+SM3ReKPnPUkyYXOgEp9UddPjcmABwHATi+D1cyG0/HdT W95EYi/HpxSynu/79RUYvzwDCvdMbC8nvhJzBZNi0Aiew6RJeXH4BrooKjNpzTvjXhk5 QM4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:date:cc:to:from :subject:message-id; bh=YyaflSzKWCN5XgVamNeyVudqqRwOC5cpsjVXPwajJJk=; b=rucgh9EmeJZPQNnwz6vPY4F/N66QHZk7W2lawgAKYbRLVj7KAq6+9YRPxZn7lnvG+7 qieAB3GdxctKJWU7mdymGfG1atsijeTDIHrPuQJA/Sxvd3nofs0SatBFRKSuLUefI47V N3Ht0B1iiONYUWnSsF3AnOVN1xC8Nz3PslkjpDrJ0RVJxkTtorYPSbCCjYI6wIQhNlah 4RgdZKahtnjHDjMM3fTIrnK/dApFcZtpqCpdRB6XYpZ3ceKOOpz9Twj/m75sghB8PqHp vwNVVUq98vD3pTav89BorTct0Lv/IkCCsGpEOspwWI3opMnsWpy9tt8HLr6VWuLjBWg/ HkyA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t16si846862edd.269.2019.09.26.01.52.50; Thu, 26 Sep 2019 01:53:13 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731518AbfIXVY7 (ORCPT + 99 others); Tue, 24 Sep 2019 17:24:59 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:5008 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728386AbfIXVY7 (ORCPT ); Tue, 24 Sep 2019 17:24:59 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x8OLMPiR010830; Tue, 24 Sep 2019 17:23:28 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 2v7rb85yjt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Sep 2019 17:23:28 -0400 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.27/8.16.0.27) with SMTP id x8OLNRxq013802; Tue, 24 Sep 2019 17:23:27 -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 2v7rb85yjf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Sep 2019 17:23:27 -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 x8OLJrQf003225; Tue, 24 Sep 2019 21:23:26 GMT Received: from b01cxnp22034.gho.pok.ibm.com (b01cxnp22034.gho.pok.ibm.com [9.57.198.24]) by ppma04dal.us.ibm.com with ESMTP id 2v5bg7fxwj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Sep 2019 21:23:26 +0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x8OLNPd248234754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Sep 2019 21:23:25 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 56D91112062; Tue, 24 Sep 2019 21:23:25 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 53D94112061; Tue, 24 Sep 2019 21:23:22 +0000 (GMT) Received: from leobras.br.ibm.com (unknown [9.18.235.184]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP; Tue, 24 Sep 2019 21:23:22 +0000 (GMT) Message-ID: <3dc42edc28b11e4d5db385a54fb42504200419e5.camel@linux.ibm.com> Subject: Re: [PATCH v2 11/11] powerpc/mm/book3s64/pgtable: Uses counting method to skip serializing From: Leonardo Bras To: jhubbard@nvidia.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: dan.j.williams@intel.com, arnd@arndb.de, jgg@ziepe.ca, gregkh@linuxfoundation.org, mahesh@linux.vnet.ibm.com, yuehaibing@huawei.com, npiggin@gmail.com, rppt@linux.ibm.com, keith.busch@intel.com, rfontana@redhat.com, paulus@samba.org, aneesh.kumar@linux.ibm.com, ganeshgr@linux.ibm.com, tglx@linutronix.de, ira.weiny@intel.com, akpm@linux-foundation.org, allison@lohutok.net Date: Tue, 24 Sep 2019 18:23:18 -0300 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-c9PFKSXiDGZGWudXrzx9" 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-09-24_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound 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-1908290000 definitions=main-1909240173 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-c9PFKSXiDGZGWudXrzx9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John Hubbard writes: >> Is that what you meant? > > Yes. > I am still trying to understand this issue. I am also analyzing some cases where interrupt disable is not done before the lockless pagetable walk (patch 3 discussion). But given I forgot to add the mm mailing list before, I think it would be wiser to send a v3 and gather feedback while I keep trying to understand how it works, and if it needs additional memory barrier here. Thanks! Leonardo Bras --=-c9PFKSXiDGZGWudXrzx9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEMdeUgIzgjf6YmUyOlQYWtz9SttQFAl2KiUYACgkQlQYWtz9S ttSspBAA11Z2a0/2zRU+xWPiaW6sFxxFjaFnFwvFxCB9wbsHmc9TUTKNZ1YwDd0s cOn1DZpqeQvEgBNCRA0m3KEk6KGdYEcPnCrfd+bZEeowG9WvM4dB3GVhGhrb63yD LxIbNPRw1fBQOzZiSjxPkYtqMPKieEBHI230yOC+PgUwlnu6J1BJ9APxYPl+x3Vd U+7Unbd7yFGOZ8ZtqDKVEsy+a7k8Qn/n1sRSAHC+qpPgTXKrghXxVehoVseywjPD 58rBL6aRRxp5W7RI6Av2bE9JhF5fxQ1Js3w4jttv85W3JuSMyXYWZE74bN9WBA23 tYfFTIrOXaFg1fujMOTIj5Dl1rorrf3fKemdcPk0FQqdDcZoXOIInSdsAKtZHKbH /MRyk95m6wLL1QdkDMvToUdGejqE9BEAaDZql9fvrNUsjp4JF4/J/mcC4XiA1cb8 4xAzAdtT09J7wMREvDhOpDSYk4TXMiY4QhK5vsPOG06cgaRUhQtQ48V7x8APGBT0 DDhQdaon0nPLJmorR6BVzX0tQUlFveTpEh33AHDxvq9olohwJtGJV6lk/SMba+6x T0TBVwjlnIgcaZ+/WXbayvdxQ6yg7EmC+YO7dVemRiorf8s0QpjtxPLrkRjM0bX2 aANgxH2XZDCog2WuIklRW2s1TEJJdZBcu7WXAwPgbecYNNuGtMs= =Dohc -----END PGP SIGNATURE----- --=-c9PFKSXiDGZGWudXrzx9--