Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3240770imu; Sat, 24 Nov 2018 00:52:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/WzZ31mYe3exqsIoSkPkobqjKng23YxWtyho2NbYS8/aDuhxA/oaF8ic5LEI2GTH9N1g1mY X-Received: by 2002:a65:5286:: with SMTP id y6mr17129809pgp.439.1543049541889; Sat, 24 Nov 2018 00:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543049541; cv=none; d=google.com; s=arc-20160816; b=WOJh86uP+N8od4GVqs/aikcc2cygpV0Gdp9SmJyza72f6Z5nBwrzJ4RrLORyO5NaBa ob4DNQrvnv74Mhrdmy8YemmSfkwuHk8wmjB0rpOUB0KRQAKPG1GSaAkWMR3O54q3dptF /o6bQnbEyNwfbLXgqctq3tcZr9SG2AYBl0dKsEelcDGDPsK/C4WbffNETI9FSh7te/nZ wsoRavpcgbB06gjrPrNhljd5zW3L1V23rvwuICwmkXAHP4/5PVkIRTuIDC2Tgcow0maT lkfTBjl0OyhsHK9gaVyt1t+pGi7yPB++ZkKWC52bCtPMC6uDQPWBInDJ3MfU5q7sNUTB reDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=HV2zezqZg+svxntefN2B27anq/kdxBzJ2ADMtaTt8VQ=; b=YYRfqI8oj5Gwoz4nG6Y3R1vjMRdys359C/Q1JSAjYsLGTxyxzP7eZ/xa8UHNnZWkrV xeF085vug9D8TLcqI5isCpTfPNSuDP8PsbF3JS/0D+0V+MDnGURJfoWxXU41rOoeQq/9 7GhMfK84M3TJxp3Mrber37Kw65RxSZqe2Yrt0SqqUZ2FoDvCT4LG9QampQytxKBOQ+wH sBu28spxF+e/HHoBzXkOyXO19k15p3+82ioI6aV/P/7XENxxrQgxgLkR1UKy2XFPWO+9 Xxb++gjuWF9MQBXEwz84XAMLYeRj+RxVnfr7jRfQRyE52vQPILbm2oXAyfoQT5ZfLfpz vXEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="JME/lVKw"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay4si24156498plb.235.2018.11.24.00.52.07; Sat, 24 Nov 2018 00:52:21 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20161025 header.b="JME/lVKw"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2441473AbeKXHIT (ORCPT + 99 others); Sat, 24 Nov 2018 02:08:19 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:39043 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2441463AbeKXHIS (ORCPT ); Sat, 24 Nov 2018 02:08:18 -0500 Received: by mail-pl1-f194.google.com with SMTP id 101so4763837pld.6 for ; Fri, 23 Nov 2018 12:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=HV2zezqZg+svxntefN2B27anq/kdxBzJ2ADMtaTt8VQ=; b=JME/lVKwEFljSpleTcadUg02cU0i10zyzOua4v8dbdWF5grkJzcEXVHUj49lguvUk6 FUtbdi8sL5mZ196l4DOAAJOOtNR3z5aBby1RpXd9+K9+z62LxIQZlYJsbmOQY51yWzVr 8eb5Zo2heuZguLKceFvIIB5wvr7d7lrzceT6GelfHfbKtPJ/VvJG03904IkXMS4n85Yx 8XTynakA1xdrQmm5YQUy61J6Y2Dt2CSTUDwmlWva4kQ9IB8a/iVl9OlumQIA91r5Sa4a 0sbKyLgTcRKRwzoFm8yycmtApvVmtmc39d3yKGWH38nDxYV4++tOMU6a/B2M/vizTvE4 a7fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=HV2zezqZg+svxntefN2B27anq/kdxBzJ2ADMtaTt8VQ=; b=t/WFBMGgXU2ShLtYlsjglOZ2ZVu3JQtweScZ+CX4paL6NpDPA+2lETcjtM9S8bCzP/ Ii9nCpX7F7GdFS8XB9DxrMorRcL+z7JS6hU7GMpT1J/6hSQAywLMDg2a4bdZfs0QPbaK fejNZi1vWS/3Vadp7zOLy0kBsAhsUQ3SvxpRMHV4N3/tOmWMvi9lgMiKanv5pXQ1f1NO RanZ/+vSUVJ6Uz5Bpe8Te4BDb6fZRc+pAxxs8UpNOH++tp4rVjSox/U2On26CN/ZhOzy BKfGHwBrkTOaM0EihMJH/kOQnuHYCkhhjvwTY4LbNZ2Ai3J4ZPVs2tjJ9AQMtRpNqtMk hZsQ== X-Gm-Message-State: AA+aEWau/7pT4zqTpG3geDu87XIm9KHVM7eq5jcazCT04lS44wwBOhyN e7dlgrzDVLZG8RiKkdxRu/dgkQ== X-Received: by 2002:a17:902:bb05:: with SMTP id l5mr802158pls.230.1543004552028; Fri, 23 Nov 2018 12:22:32 -0800 (PST) Received: from [100.112.89.103] ([104.133.8.103]) by smtp.gmail.com with ESMTPSA id l184sm6637805pfc.112.2018.11.23.12.22.30 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Nov 2018 12:22:30 -0800 (PST) Date: Fri, 23 Nov 2018 12:22:29 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: Michal Hocko cc: Hugh Dickins , linux-mm@kvack.org, Andrew Morton , Oscar Salvador , Pavel Tatashin , David Hildenbrand , LKML , "Kirill A. Shutemov" Subject: Re: [RFC PATCH 3/3] mm, fault_around: do not take a reference to a locked page In-Reply-To: <20181122090547.GD18011@dhcp22.suse.cz> Message-ID: References: <20181120134323.13007-1-mhocko@kernel.org> <20181120134323.13007-4-mhocko@kernel.org> <20181121071132.GD12932@dhcp22.suse.cz> <20181122090547.GD18011@dhcp22.suse.cz> User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Nov 2018, Michal Hocko wrote: > > If you want some update to the comment in this function or to the > changelog, I am open of course. Right now I have > + * Check for a locked page first, as a speculative > + * reference may adversely influence page migration. > as suggested by William. I ought to care, since I challenged the significance of this aspect in the first place, but find I don't care enough - I much prefer the patch to the comments on and in it, but have not devised any wording that I'd prefer to see instead - sorry. Hugh