Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1865235imu; Thu, 10 Jan 2019 04:27:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN4a0s6M6oXdC88T59yOfsew/8aX7aO1ULESjuFMrz+9uQGYaAF6+XKEyi9qtbh9ex4AD2zP X-Received: by 2002:a17:902:724a:: with SMTP id c10mr10357709pll.51.1547123257020; Thu, 10 Jan 2019 04:27:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547123256; cv=none; d=google.com; s=arc-20160816; b=jdU65xn2yLk97GujFSAaJsbeCPRZCKPF3jfoMa3Sl9J24ep/thYo/c1FR7ZX5+M3+t luCgkZHcN7v4E8ztkV+fd/yywuN5P8kvrV4Dc56lCET29LrJKaEKi/pNQNkKcjeSxu30 HB8A3qL7IVfArBoDPYRobtAToz7/3A6k7WyppABTQZhr5kyh9BcJLGAtZ6xm5I/GBJN7 6QMqtpQGS7xuVyQbmcTAUQIeXLmmgFYmNvHOGNsNciIVkn5BbRbN/faBAhC02R3lokBq 5eakPkAXj2cOXetZh3e3X4lsYwCYW4JV/Fv+3ne6I2ThLsNUHCmeIX/KLo0vfpNvESpn Kx1w== 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:message-id:subject:cc :to:from:date; bh=Bj9SgAAar+FM+heBVPOYbcXkQWmnAQZTH1pNA0xI7ZM=; b=0QyuOdvVaPFswvI79SgYjXvE5pNlj8gTedmIoJg049+6sMeErFebSeAK5xutdLN8Ke K1vh44biPgRgN9akApz+iRFPebeO66gKTQn5+TfBklTGKELJdLECIF88KzX7pqk0bbfN GWq7v+Vo2OB1Sv596lDF3fdfWEeaz1ycAXOYMtREwFK6yR97Wssu6PjBIwAm86GPpUHF ZJ/PYaXqmfjOnGnleebPanwjxFzKYN0jbGyoLcKg+KtqYcngeNv93crB+hloQRytkKdx gzprcvTMSSLwqyGddh+SqjCApC9GdT9ziEiBWPtRkbvIQFQt/YIQuvlE/njN5X698MXZ 7Qzw== 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 1si18327459pld.239.2019.01.10.04.27.22; Thu, 10 Jan 2019 04:27:36 -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; 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 S1728229AbfAJMY7 (ORCPT + 99 others); Thu, 10 Jan 2019 07:24:59 -0500 Received: from nautica.notk.org ([91.121.71.147]:55224 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbfAJMY7 (ORCPT ); Thu, 10 Jan 2019 07:24:59 -0500 Received: by nautica.notk.org (Postfix, from userid 1001) id A84A9C01B; Thu, 10 Jan 2019 13:24:57 +0100 (CET) Date: Thu, 10 Jan 2019 13:24:42 +0100 From: Dominique Martinet To: Linus Torvalds Cc: Dave Chinner , Jiri Kosina , Matthew Wilcox , Jann Horn , Andrew Morton , Greg KH , Peter Zijlstra , Michal Hocko , Linux-MM , kernel list , Linux API Subject: Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged Message-ID: <20190110122442.GA21216@nautica> References: <20190108044336.GB27534@dastard> <20190109022430.GE27534@dastard> <20190109043906.GF27534@dastard> <20190110004424.GH27534@dastard> <20190110070355.GJ27534@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote on Thu, Jan 10, 2019: > (Except, of course, if somebody actually notices outside of tests. > Which may well happen and just force us to revert that commit. But > that's a separate issue entirely). Both Dave and I pointed at a couple of utilities that break with this. nocache can arguably work with the new behaviour but will behave differently; vmtouch on the other hand is no longer able to display what's in cache or not - people use that for example to "warm up" a container in page cache based on how it appears after it had been running for a while is a pretty valid usecase to me. From the list Kevin harvested out of the debian code search, the postgresql use case is pretty similar - probe what pages of the database were in cache at shutdown so when you restart it you can preload these and reach "cruse speed" faster. Sure that's probably not billions of users but this all looks fairly valid to me... -- Dominique