Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp443169pxu; Thu, 15 Oct 2020 07:51:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw07wChHACnYpPZkYWE6cFZuIYovy7o0Klk5RF406yQ/Qs2z11L/hrplL0GJXxdb2wtIWwQ X-Received: by 2002:a17:906:383:: with SMTP id b3mr4654390eja.351.1602773460657; Thu, 15 Oct 2020 07:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602773460; cv=none; d=google.com; s=arc-20160816; b=kUzGzaEUD2OJvhHTi6pAdmeNXjuGanqwbGzoaacC9f1vVTSxvcV5CEqGW0xX8jF32W qPfbM+9iu45xDLoMOEyZUGQqt0dm7Q7bbG+gbeXfREU6ohQAcgfJhXmslW4KU5tMRfdz lzc5/D+YLz7aYZoz0g0QMFBMTUDWbdUntVOl76zos/F0MzKwWzBS13B6hGtkK9HLrB3c 5yS7gpo25MCGIG8xvgt6nfLmwVVEH6ohQ9B6UkgUk4tyvDyR2lG+wiQWIM9nkd0TAUon +zmnNkV0UAbJA4gylkd2H2QNpgg9tlpycMogc2Uw4jHMONWUTfOFxJByAIV5YBm7emZD Bl4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=i6taFDus42wfKoClUDJ7i8mjLOWR9x0Y2U2mQz1QMk0=; b=DAGnRc8V31++O77GiI3MSlWaIH1giZBZSVJ4wOAfSQCuye3QUGKHID/2a4VX1uwTlE y30eIsz3vuens8FsWJmLzcp5VNn/+yrnMYA+hiih0mJSgbMJrN+RablIUlWmJRbbIvdL rD+LrUGTLqED2Ho1ALlkML24SCrS6CZd+e+vOVKpgDPseurMHVdjFmMJcEGBRnVdsaDt N7Y/R62DoAFQdCdeBbs2s11ZTdCfE/xBtk2fO7uHfYFRpUIkJh7G/EhYqW+0IzwPcBoG 3E6zeiPFzB89bDaq/tFpZwVBTh9Wx6yNiYRyd3X59l1LAE76n9F2AhNUyHWRYXHW5fZn JMHg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si1916245edq.345.2020.10.15.07.50.31; Thu, 15 Oct 2020 07:51:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389278AbgJOOrN (ORCPT + 99 others); Thu, 15 Oct 2020 10:47:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:55232 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389258AbgJOOqp (ORCPT ); Thu, 15 Oct 2020 10:46:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 17619AC24; Thu, 15 Oct 2020 14:46:44 +0000 (UTC) Date: Thu, 15 Oct 2020 16:46:41 +0200 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: Leonardo Bras Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Arnd Bergmann , Andrew Morton , "Aneesh Kumar K.V" , 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 Subject: Re: [PATCH v6 02/11] mm/gup: Use functions to track lockless pgtbl walks on gup_pgd_range Message-ID: <20201015144641.GE29778@kitsune.suse.cz> References: <20200206030900.147032-1-leonardo@linux.ibm.com> <20200206030900.147032-3-leonardo@linux.ibm.com> <760c238043196e0628c8c0eff48a8e938ef539ba.camel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <760c238043196e0628c8c0eff48a8e938ef539ba.camel@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, 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 = nr; > > } > > > > Just noticed IRQS_ENABLED is not available on other archs than ppc64. > I will fix this for v7. Has threre been v7? I cannot find it. Thanks Michal