From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by kanga.kvack.org (Postfix) with ESMTP id 5C1AB8E0002 for ; Wed, 16 Jan 2019 21:22:48 -0500 (EST) Received: by mail-pf1-f200.google.com with SMTP id o7so5935799pfi.23 for ; Wed, 16 Jan 2019 18:22:48 -0800 (PST) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net. [150.101.137.145]) by mx.google.com with ESMTP id w2si266585pfg.78.2019.01.16.18.22.46 for ; Wed, 16 Jan 2019 18:22:47 -0800 (PST) Date: Thu, 17 Jan 2019 13:22:44 +1100 From: Dave Chinner Subject: Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged Message-ID: <20190117022244.GV4205@dastard> References: <20190108044336.GB27534@dastard> <20190109022430.GE27534@dastard> <20190109043906.GF27534@dastard> <20190110004424.GH27534@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Jiri Kosina Cc: Linus Torvalds , Matthew Wilcox , Jann Horn , Andrew Morton , Greg KH , Peter Zijlstra , Michal Hocko , Linux-MM , kernel list , Linux API On Fri, Jan 11, 2019 at 08:36:55AM +0100, Jiri Kosina wrote: > On Thu, 10 Jan 2019, Dave Chinner wrote: > > > Sounds nice from a theoretical POV, but reality has taught us very > > different lessons. > > > > FWIW, a quick check of XFS's history so you understand how long this > > behaviour has been around. It was introduced in the linux port in 2001 > > as direct IO support was being added: > > > > commit e837eac23662afae603aaaef7c94bc839c1b8f67 > > Author: Steve Lord > > Date: Mon Mar 5 16:47:52 2001 +0000 > > > > Add bounds checking for direct I/O, do the cache invalidation for > > data coherency on direct I/O. > > Out of curiosity, which repository is this from please? Even google > doesn't seem to know about this SHA. because oss.sgi.com is no longer with us, it's fallen out of all the search engines. It was from the "archive/xfs-import.git" tree on oss.sgi.com: https://web.archive.org/web/20120326044237/http://oss.sgi.com:80/cgi-bin/gitweb.cgi but archive.org doesn't have a copy of the git tree. It contained the XFS history right back to the first Irix commit in 1993. Some of us still have copies of it sitting around.... Cheers, Dave. -- Dave Chinner david@fromorbit.com