Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1655225imu; Thu, 17 Jan 2019 00:48:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN67uUaGluUaP33e2yi6lUcIwaSw4da43N9raAhg5QHPwdU2aR7DO6/OXsTU4y7sh/Vp1arm X-Received: by 2002:a63:5e43:: with SMTP id s64mr12676559pgb.101.1547714932414; Thu, 17 Jan 2019 00:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547714932; cv=none; d=google.com; s=arc-20160816; b=p89wJF+PucRxvnlE3kXOx+dRtCmLC1nyT147PpOfQGw0KGv8hjzQgqdU89v55otPVz mbPFDk+j3Qhi12oy5kfww7UiIzCeAG5SXAcYrvT8xKf9L5zx98KPHOQivQkeR6oaENO9 OPG+HYp1S8s3vXP7sfesuV3n8v9gApZhmO1uB4evk6hsc4e9tE3m/z3dpWSFtXVqD3/0 hfgKMIY7ddqhycE7VNGyrtIJU+63UqNbIP4coorx2joLAdWuGF6eD/fjIYscHJagPeNz JHunc7FQYDURI4k0kZz28AbLc1TwzScvwYK8t/+7yyK8dLxkC3D2jBUNaYsXCp/Ty84y O5zQ== 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=yLJ/vuZNeAQaSE67g1G32f22oURexRquJe71yD/wjGM=; b=KGM3G+hRIy8Iem/2CqCFReIu4tj7Dj3J2wJVPNOcLLHErbyktJECw7y/G884qmjNiZ Gr/N7ZmApXQWRK/zHWJssF9/2Sj0n+owcqFDqliigidnjMCSihzreHdGy2wriIw2QQhH QMkSR9GN2O8E2UCA4l0DR9IGe/gZdgRNjFd7knYM8fLJLwd1vs8nRtPhHbk/S3+XiDhx 9sbEL+cvvqxWRJ/8u7a2KkhUUVI6ttPxkmck9A3p/bQXSWJR8qDBXgk4PIEIZ2Adexvt kaCMYNIGR2qo4VQk15EyY7JMlG/95dmE4ySHGUbGhQOp58cy9ZRIh1agxEZhq7JCIQp2 H2sg== 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 f5si1068140plo.422.2019.01.17.00.48.36; Thu, 17 Jan 2019 00:48:52 -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 S1726880AbfAQCWs (ORCPT + 99 others); Wed, 16 Jan 2019 21:22:48 -0500 Received: from ipmail06.adl6.internode.on.net ([150.101.137.145]:31150 "EHLO ipmail06.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfAQCWs (ORCPT ); Wed, 16 Jan 2019 21:22:48 -0500 Received: from ppp59-167-129-252.static.internode.on.net (HELO dastard) ([59.167.129.252]) by ipmail06.adl6.internode.on.net with ESMTP; 17 Jan 2019 12:52:45 +1030 Received: from dave by dastard with local (Exim 4.80) (envelope-from ) id 1gjxKO-0003NC-7S; Thu, 17 Jan 2019 13:22:44 +1100 Date: Thu, 17 Jan 2019 13:22:44 +1100 From: Dave Chinner To: Jiri Kosina Cc: Linus Torvalds , 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: <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: 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 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