Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3889771yba; Tue, 23 Apr 2019 11:15:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxo7vaPxyUuzi+AgzuFT73nvZa2R4HtQWha1ETft2U0S8+xWgYiMYg+7d/gQK/+96scRth8 X-Received: by 2002:a17:902:7c01:: with SMTP id x1mr26956847pll.299.1556043308471; Tue, 23 Apr 2019 11:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556043308; cv=none; d=google.com; s=arc-20160816; b=QGFafr9U2sTJKGH9uKsefZMLU2jwWKDYdQs4l61R677uapiwOX9H361jbpuR5fHvcI rPZXseeLkFMGVXwa+sbrVyAOTmyRfOswwPAf2AcApyCTIIjv0vXCcJYWTvHERG/wbOvt rjQdsVRs0X7QICkKBNYPeurqP/hhazkvKta6vT3/qksfDFnjvTEORVnBhmZ3pXaG4TvT fPzGTimGUBROy9IwXXlEI1lVODJETsZ4Yvnq7XEnEera79tI6CAIwbEgMLlh6QbLKtlZ 8r5juNGtFKAgpVdQZOsPFxjrinpTZ/cpXGIPwrX8ISXnvQv5nFMVTugfQBwipsS23oDq y3QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=UvBCGfx/8rnXtPz98Lh2v0HbyaM3JXjCUiL9gwcjUVY=; b=nhxOxsx/ooYxGKuJVcx3+d+V+zCrnS8M+y9qprpgU3UyuZJgg3JRpSFpY1c01ZPv7U aLDi19Z8OPpPW8iKmD8+TNFIZEQfjmaAZHnw5qkOoE1r6gIGXPS54gVKhtbVHJ3id+Ka TvttMOvdzpdqf4ZA3BKKiLqeLq3AmYPEnnb4Y1FW3xTSDPeiOMSRYSfogd5TrXsglmoh gGdZztOqasXDH0hhR1uzRhzQtTgSzWQKO0TLNq6N9ckXLEL1EteteSmM7AO2/xPzCePj j/nIj4V0LNLi0iyV4RWA1YyBNE9B/Db6ILObLBo+uvsYXA+/umeDL3iIlNzg/e6nesUu PeZg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si13587340plb.200.2019.04.23.11.14.54; Tue, 23 Apr 2019 11:15:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726406AbfDWSNc (ORCPT + 99 others); Tue, 23 Apr 2019 14:13:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:54740 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725956AbfDWSNc (ORCPT ); Tue, 23 Apr 2019 14:13:32 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 33DE3AEBF; Tue, 23 Apr 2019 18:13:30 +0000 (UTC) Date: Tue, 23 Apr 2019 11:13:15 -0700 From: Davidlohr Bueso To: Peter Zijlstra Cc: Laurent Dufour , akpm@linux-foundation.org, mhocko@kernel.org, kirill@shutemov.name, ak@linux.intel.com, jack@suse.cz, Matthew Wilcox , aneesh.kumar@linux.ibm.com, benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , sergey.senozhatsky.work@gmail.com, Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, Daniel Jordan , David Rientjes , Jerome Glisse , Ganesh Mahendran , Minchan Kim , Punit Agrawal , vinayak menon , Yang Shi , zhong jiang , Haiyan Song , Balbir Singh , sj38.park@gmail.com, Michel Lespinasse , Mike Rapoport , linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, npiggin@gmail.com, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: Re: [PATCH v12 21/31] mm: Introduce find_vma_rcu() Message-ID: <20190423181314.wmhy2v2siiz35yzo@linux-r8p5> Mail-Followup-To: Peter Zijlstra , Laurent Dufour , akpm@linux-foundation.org, mhocko@kernel.org, kirill@shutemov.name, ak@linux.intel.com, jack@suse.cz, Matthew Wilcox , aneesh.kumar@linux.ibm.com, benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , sergey.senozhatsky.work@gmail.com, Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, Daniel Jordan , David Rientjes , Jerome Glisse , Ganesh Mahendran , Minchan Kim , Punit Agrawal , vinayak menon , Yang Shi , zhong jiang , Haiyan Song , Balbir Singh , sj38.park@gmail.com, Michel Lespinasse , Mike Rapoport , linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, npiggin@gmail.com, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org References: <20190416134522.17540-1-ldufour@linux.ibm.com> <20190416134522.17540-22-ldufour@linux.ibm.com> <20190423092710.GI11158@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190423092710.GI11158@hirez.programming.kicks-ass.net> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Apr 2019, Peter Zijlstra wrote: >Also; the initial motivation was prefaulting large VMAs and the >contention on mmap was killing things; but similarly, the contention on >the refcount (I did try that) killed things just the same. Right, this is just like what can happen with per-vma locking. Thanks, Davidlohr