Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2062786pxk; Sat, 26 Sep 2020 15:30:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpdjdG9CwZ429pg/e2NSKCGK74teRyiZg7vhuxrRoH05LafTa6wTVG3pAqwH/FAvT85GeJ X-Received: by 2002:a05:6402:209:: with SMTP id t9mr8883916edv.208.1601159446752; Sat, 26 Sep 2020 15:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601159446; cv=none; d=google.com; s=arc-20160816; b=OvbwOlsplCmwJ8OJGICuBXcIFeu+XlPEjJXHFz85LMVAd/Zvjm7E2BMFlEJ6sVvO/e zkoqiq/vgD64mLDCtKFBudmR3ikYZw/R2zGknxbiY1IkpWhRbp4/7uYdQSZIUp/bKwqw 2llE+53Xkq0nTot7JS/xQod2YTlUU3qA967Wo7eWFRBViDfPPgZEuQtQZBb9c3noZ1ZF 39Fshjfhhr427uhqjBnfcbtkZKWIqQxKJL0piWudeVprDVt9x7DCZwAstTcjBCuwlXOy fu54W71GNvOY7tanhQE4iFHY+4JcJKRwqF6tCxiQEyMQFRtONMf88aR2iC0iASqyEn8a zJKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=x5311Cy+5DCxZN2zAMmFnDHSFfNBkBdzbRGB2+4qmlE=; b=hHZ9uNWJdYCsQXMzDu/XGboAu3CfSv/uko3jKDOB5Hjox/OupZL7KFaGBjIJR3He2P ZhzYM4fAFdkPpsx7sxGqzGuJaG2iyx6bjhWZ0Hr1TZdedma8XhqncniOOBN6J4Q66L8+ pQCUJ5lsJhD0yrTgTnoSSXhC9NRgTGOc/aX+JQ1RfEuk9KjIJu4YmVf3pl2PI6qGmIZU KrddHGF9g1zcTysUGoIcm05hgTqrleEbz2XyEPRFDRY3IdJRVpL3XcjAdz84idOhyyG8 ZCy58pzyAkN4HtagdkRQL6wTRTaIMl4z+Gnc7TP1LhVxMOx+EWii/koHM+hCu6NlDmVA xkjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=eM40qe7x; 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 t10si5026347edw.38.2020.09.26.15.30.23; Sat, 26 Sep 2020 15:30:46 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=eM40qe7x; 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 S1726587AbgIZW2x (ORCPT + 99 others); Sat, 26 Sep 2020 18:28:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726242AbgIZW2x (ORCPT ); Sat, 26 Sep 2020 18:28:53 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5AA0C0613CE for ; Sat, 26 Sep 2020 15:28:52 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id 77so6844818lfj.0 for ; Sat, 26 Sep 2020 15:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x5311Cy+5DCxZN2zAMmFnDHSFfNBkBdzbRGB2+4qmlE=; b=eM40qe7xNe/voahDDsD2+ynKrCh6tr+a8hkfQXaw7ZsgyvOb7QTfd11jF1V1yIvj66 QnA5VeYmOA4XA9JilcomS14bh0OgX8MsCmXGMBGQnDeVJSgSqEJyY3HBjxJzy+siGE/h 9+dTc1JsEX62nNBYXvVeboBvNAXsH6roUjn38= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x5311Cy+5DCxZN2zAMmFnDHSFfNBkBdzbRGB2+4qmlE=; b=NjdnRtRL+KpVCqhNAiaq+dLfB9/c2/zazpU6pjhsEYqIMzEIr6MyUqBO5YTlMcA07k 47CpJcuXABRdOSpkcxb8GeeeywaU/XZtVyzmfvLpdhTl8rc77bqtHh6d/foVdF3yr2hK hKGTDSzRwqJrRP9WGLf6S7J/xjNQ+09WpRsfH8z5t9kXOa735/RSfPFdm68ITibQrfcm LsM28kQOTSQwUsJo8dNqYzclg6hbXzVsfKc5jkWDkcouMjkC2it+C6IqyqrXGMJRKJ6Z szdmsUUuujJUFO/PwQEkTT5AnXboM+mxto9p7jhE5Su7d6rLBi32TxwrwV0lux5Upo3D JJ4g== X-Gm-Message-State: AOAM5322rbJo5YIFodN5pjAUMYb5O+cuJ+MEGNtfVUrqnRzlQJ4gqpJJ 2VXjb7EtMKDzRpBl9OepO+i17gNQEyVMYw== X-Received: by 2002:ac2:43ce:: with SMTP id u14mr1496820lfl.363.1601159330827; Sat, 26 Sep 2020 15:28:50 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id p27sm2202416lfo.272.2020.09.26.15.28.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Sep 2020 15:28:48 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id a22so5309925ljp.13 for ; Sat, 26 Sep 2020 15:28:48 -0700 (PDT) X-Received: by 2002:a2e:7819:: with SMTP id t25mr2940089ljc.371.1601159327915; Sat, 26 Sep 2020 15:28:47 -0700 (PDT) MIME-Version: 1.0 References: <20200923170759.GA9916@ziepe.ca> <20200924143517.GD79898@xz-x1> <20200924165152.GE9916@ziepe.ca> <20200924175531.GH79898@xz-x1> <20200924181501.GF9916@ziepe.ca> <20200924183418.GJ79898@xz-x1> <20200924183953.GG9916@ziepe.ca> <20200924213010.GL79898@xz-x1> <20200926004136.GJ9916@ziepe.ca> In-Reply-To: From: Linus Torvalds Date: Sat, 26 Sep 2020 15:28:32 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/5] mm: Introduce mm_struct.has_pinned To: Jason Gunthorpe Cc: 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 , Leon Romanovsky , Jann Horn Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Linus