From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Aneesh Kumar K.V" Date: Fri, 16 Oct 2020 03:39:30 +0000 Subject: Re: [PATCH v6 02/11] mm/gup: Use functions to track lockless pgtbl walks on gup_pgd_range Message-Id: <3709d0f5-0f92-b003-1d6b-24a61ca2cf1c@linux.ibm.com> List-Id: References: <20200206030900.147032-1-leonardo@linux.ibm.com> <20200206030900.147032-3-leonardo@linux.ibm.com> <760c238043196e0628c8c0eff48a8e938ef539ba.camel@linux.ibm.com> <20201015144641.GE29778@kitsune.suse.cz> In-Reply-To: <20201015144641.GE29778@kitsune.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: =?UTF-8?Q?Michal_Such=c3=a1nek?= , Leonardo Bras Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Arnd Bergmann , Andrew Morton , Nicholas Piggin , Christophe Leroy , Steven Price , Robin Murphy , Mahesh Salgaonkar , Balbir Singh , Reza Arbab , Thomas Gleixner , Allison Randal , Greg Kroah-Hartman , Mike Rapoport , linux-arch@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kvm-ppc@vger.kernel.org Hi Michal, On 10/15/20 8:16 PM, Michal Such=C3=A1nek wrote: > Hello, >=20 > On Thu, Feb 06, 2020 at 12:25:18AM -0300, Leonardo Bras wrote: >> On Thu, 2020-02-06 at 00:08 -0300, Leonardo Bras wrote: >>> gup_pgd_range(addr, end, gup_flags, pages, &nr); >>> - local_irq_enable(); >>> + end_lockless_pgtbl_walk(IRQS_ENABLED); >>> ret =3D nr; >>> } >>> =20 >> >> Just noticed IRQS_ENABLED is not available on other archs than ppc64. >> I will fix this for v7. >=20 > Has threre been v7? >=20 > I cannot find it. >=20 > Thanks >=20 > Michal >=20 https://lore.kernel.org/linuxppc-dev/20200505071729.54912-1-aneesh.kumar@li= nux.ibm.com This series should help here. -aneesh