Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp182779ybe; Tue, 3 Sep 2019 20:27:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHcc+5DBlqveB+WaItiuLX7aN4C1ZkrcjowcyjgxrTPLu1Go/l/EAkzuQoMoLV+7POPYr2 X-Received: by 2002:a17:90a:2464:: with SMTP id h91mr2879541pje.9.1567567641011; Tue, 03 Sep 2019 20:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567567641; cv=none; d=google.com; s=arc-20160816; b=Yuy5arBxH/JoPW/wBwhdLszuuVpWShroUwrfJCP7585fUvspRrrgLqVak9qcV04ol8 OUqvbb0E+rdCQz/3294gDj5RRsxT7ao+F9hFRpfXP9okzLQLHJzDpgk7yEUnOWv8gJwN RAKsxeBbVSioUwKN82Rb3IkZiearO7qOrlokydvdHJZLfVefTN2CcRi0qYdDbc5MTG8n eil5BDKrecmg5vJQvxu6lAYuA4Bv8tZmBERlZ9quOG8EthGcdoO3WYRIKdBDBVvFpGtt B3isb2xuH8xHCWgIREc2yrfsuJNOv+ixlW/T3mSrjVlKlhMMTFXDvD1VAQKjtnZpsnHD UqPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=THg7OdVe+H13Wicp3Cku/2yXM5fjaUIJKiClqu9N+6k=; b=hn7vL371wKd/4YlWbJue0d+4MvUHvSSkd9A0NrmLaeK6Z+S69EhxfJ5JD1zrDZ2++i 8jpmJOb3zJyE7ngxhmhYCs9vYgHIiNK/DFljQBqjclGBo75Oy585Mc0A05/WsPAbrBFt ElCarzQ9rGJxqyaIzHw03tbwqRecWivTYBFQp8IFIntF0WUJdXsNhAE7Squ2ky9A6/ST UDJOM4gbHN4cvpTCD5UhbIEbbUL/FrG74iCHt2YkH55dH2SxVS2+qJ+luCLVfuUB98NS t3Si8MVyvLcjvT+He719xKBCz5FHRQq1YE8xyce8B9JDS/WhjZ0KVu+9toi8mWttt3vd QZUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=ml+1imRv; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si1232082pje.43.2019.09.03.20.27.05; Tue, 03 Sep 2019 20:27:20 -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; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=ml+1imRv; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728158AbfIDDYf (ORCPT + 99 others); Tue, 3 Sep 2019 23:24:35 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:50890 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727065AbfIDDYf (ORCPT ); Tue, 3 Sep 2019 23:24:35 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x843Mauu178986; Wed, 4 Sep 2019 03:23:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2019-08-05; bh=THg7OdVe+H13Wicp3Cku/2yXM5fjaUIJKiClqu9N+6k=; b=ml+1imRv3FyfRRKBibYB55RAT0zuUhxlyxyxn5PfjBciWwyXB/CGi7rRpmQCSoic2nwt X6hs2+7Ib5gpGV6DrkZ8lo+16HG/GTj/g5XxhPt4UkOZKO9nu7mDt7T4S13BWfbGHpJK xCK9T9UpiQRtu5nkpuOMef4VgoK5jrjyK/rPwSX5+b3RH51Pat8P+uBjq6d3UJv03e00 7PkyIJTkqHkba9FNUaQnsfNVy6gxKRQO716wX5+jeVBMVtCWF+NdtgPbpcf0LK1D/nu7 iQM/oqJiii79c8WrluV84b+fIEr1Rv0ANQLhc2S7icP40mWjnTZtszpaNz8V28tpH9N1 6g== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2ut5a6r08x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Sep 2019 03:23:43 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x843NguE082969; Wed, 4 Sep 2019 03:23:42 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2ut1hmrf4g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Sep 2019 03:23:42 +0000 Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x843NamI026386; Wed, 4 Sep 2019 03:23:36 GMT Received: from [192.168.0.110] (/73.243.10.6) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 03 Sep 2019 20:23:35 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3578.1\)) Subject: Re: [PATCH v5 2/2] mm,thp: Add experimental config option RO_EXEC_FILEMAP_HUGE_FAULT_THP From: William Kucharski In-Reply-To: <20190903191528.GC14028@dhcp22.suse.cz> Date: Tue, 3 Sep 2019 21:23:34 -0600 Cc: Matthew Wilcox , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Dave Hansen , Song Liu , Bob Kasten , Mike Kravetz , Chad Mynhier , "Kirill A. Shutemov" , Johannes Weiner Content-Transfer-Encoding: 7bit Message-Id: <4AB1ABA7-B659-41B7-8364-132AD3608FA6@oracle.com> References: <20190902092341.26712-1-william.kucharski@oracle.com> <20190902092341.26712-3-william.kucharski@oracle.com> <20190903121424.GT14028@dhcp22.suse.cz> <20190903122208.GE29434@bombadil.infradead.org> <20190903125150.GW14028@dhcp22.suse.cz> <20190903151015.GF29434@bombadil.infradead.org> <20190903191528.GC14028@dhcp22.suse.cz> To: Michal Hocko X-Mailer: Apple Mail (2.3578.1) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9369 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909040034 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9369 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1909040034 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Sep 3, 2019, at 1:15 PM, Michal Hocko wrote: > > Then I would suggest mentioning all this in the changelog so that the > overall intention is clear. It is also up to you fs developers to find a > consensus on how to move forward. I have brought that up mostly because > I really hate seeing new config options added due to shortage of > confidence in the code. That really smells like working around standard > code quality inclusion process. I do mention a good deal of this in the blurb in part [0/2] of the patch, though I don't cover the readpage/readpages() debate. Ideally readpage() should do just that, read a page, based on the size of the page passed, and not assume "page" means "PAGESIZE." I can also make the "help" text for the option more descriptive if desired. Thanks for your comments!