Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2230067pxk; Sat, 26 Sep 2020 23:25:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlWdYkSb+wLICnedtLc0ANgmiEanZKTtk9nmEwOzNkG62kwKApZFB9c5ikthgeq70W4dpc X-Received: by 2002:a17:906:4553:: with SMTP id s19mr9861131ejq.475.1601187929159; Sat, 26 Sep 2020 23:25:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601187929; cv=none; d=google.com; s=arc-20160816; b=n16LBWgvy6fwdDtL8YTKhgvnKzryZKaex2bNEZiPSwbbtPqiHMVnU9FNSe8Qrd+2eG Z8EhOo7PRGCIEygHi7yazhJnRHnmzrgXssmnEGaawHudR7aRYGlvC0jJNbmqaAHR/X1o bjkyOTL0XZTHQZADBc6Jpj1xXF5BhsClyczhjC5g5Zr2lWr2x2RDQaSpe1np8nMctnI6 WaenJN+XTA769oJpjSen9wxRLNhQQSW/3Vx/y4ZuAo9wQ83x55vFmdXBb+B8Yv3LEmPj Py4f+6hicZXIe0NT69z6UTGiGGu7jBz5tFJdEMIWncsZonyd4hfWvUTFAvz7k+VUvzVD GwnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=YmsJo/Hft59PxcA53NgL64k8YHsqpvymoQeeSaknwu0=; b=hQGf5LPOx5AssEuZSbeNz8SGIHNPRKNRmmGd3yCDqlafP0lr/7oKPF663LlSXpbgxc srDaRhYAM2XAeRJ4wbv7wJ0NpnXePeA33OO++iW32+G/Wc7qt0XkwCnXi5HimNmisgWl XwtF+fdHg0FDxGtCANfDJtuuihOahkt2XyPfm6/qdoY1YP1osjq4s2BjaCCqg+rL5MlP 7tx8vvuXxJF/ybZkipnMeTcwGb+xfdWQLUOyzYSsFain3/GRzhRSqmoIRgVpMTJ6+YyB 9OtZ9wvddMJwLvtb29ABsNGm7PDv5lW0q3fgKn1l0e6Adi2VwqlOac8jIu1YvVptP3F0 oyrg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p10si5382915edh.108.2020.09.26.23.25.05; Sat, 26 Sep 2020 23:25:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730224AbgI0GX7 (ORCPT + 99 others); Sun, 27 Sep 2020 02:23:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:56150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729712AbgI0GX7 (ORCPT ); Sun, 27 Sep 2020 02:23:59 -0400 Received: from localhost (unknown [213.57.247.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 82878221E5; Sun, 27 Sep 2020 06:23:58 +0000 (UTC) Date: Sun, 27 Sep 2020 09:23:37 +0300 From: Leon Romanovsky To: Linus Torvalds Cc: Jason Gunthorpe , Peter Xu , John Hubbard , Linux-MM , Linux Kernel Mailing List , Andrew Morton , Jan Kara , Michal Hocko , Kirill Tkhai , Kirill Shutemov , Hugh Dickins , Christoph Hellwig , Andrea Arcangeli , Oleg Nesterov , Jann Horn Subject: Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned Message-ID: <20200927062337.GE2280698@unreal> References: <20200924175531.GH79898@xz-x1> <20200924181501.GF9916@ziepe.ca> <20200924183418.GJ79898@xz-x1> <20200924183953.GG9916@ziepe.ca> <20200924213010.GL79898@xz-x1> <20200926004136.GJ9916@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 26, 2020 at 03:28:32PM -0700, Linus Torvalds wrote: > On Fri, Sep 25, 2020 at 6:15 PM Linus Torvalds > wrote: > > > > I think that over the weekend I'll do Peter's version but with the > > "page_mapcount() == 1" check, because I'm starting to like that > > better than the mm->has_pinned. > > Actually, rafter the first read-through, I feel like I'll just apply > the series as-is. > > But I'll look at it some more, and do another read-through and make > the final decision tomorrow. > > If anybody has any concerns about the v2 patch series from Peter, holler. We won't be able to test the series till Tuesday due to religious holidays. Thanks > > Linus