Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1119266imu; Wed, 16 Jan 2019 13:06:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN6cdvxCtodgQ5M6bIfAxXOiZaz2wpVrbfAs/IAXo29RI7Bh4HAgrQdZFbQSl+SB2KTwdvid X-Received: by 2002:a62:60c5:: with SMTP id u188mr11906647pfb.4.1547672806063; Wed, 16 Jan 2019 13:06:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547672806; cv=none; d=google.com; s=arc-20160816; b=qlBTtDnPffT/SBxJ2kjtlPP38w9DxmsHZk/wW8Y/e7NDdCYRq4CPlpPvQFjwcRyOxS oUO76h/H+acna40Pud8ueigcFzVLAV7u7w2u2CN+2e+kdxOu9EdV3fAqWw8QRSglO56H vFwNxAFtMi0KGVPOHdRBfYjbX+rrbrZDCehXbAz4wWrObrVfRSD7Q1TiFJqEDyZRyqtq x2BfG6H08DwpeBdrsTkQ7KyRjZ+uy+TVrZ2I9Jjib/sXuannoS54cw7y9UshjNU8UPHW VF1w/5mrndMXn+Z/DzakYx0v3bDXeJzMsGQiRQX9W5SAfGXDfwiE2s7Ek/j/hSu2MNhC 90Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9dT6Z1C6XjxVvtC/JI24HhxwtHBgNAG7wWwQyTEeC8g=; b=CVJTjv4RGxkD9oc1hovQwwUE8Kw5+76WbU4dA/sQ+A5LBR+mleEyUH29GgbacGmo63 sEOonSq1FJPRYsZBtVlR0gq+0SMvyeJ6/8viyfzIJwOhljEpwv/C+hNLiJFkH/OgmWYk ibKdIykxRubTNkcRnSNb4tAk9WOXYbyiXVe6njTFcCqOHvMdQArvIdB51XGshEnB7EQm qdi0f8TPi7vG0cNtz4Rlhv/yXBjcv9YCMROOitDYzGrvVHfGYzooJh6MfKt8XOZwc2wJ ZYEXvCJEy9DxSPSk02RpetSNg4afLDF9j4KuyrZ6aKO9LFWcKbk1tvogcwuoteQIWKSw kSlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=QWHBTSl2; 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 b17si6747770pgk.581.2019.01.16.13.06.27; Wed, 16 Jan 2019 13:06:46 -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=@linux-foundation.org header.s=google header.b=QWHBTSl2; 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 S1732184AbfAPEzN (ORCPT + 99 others); Tue, 15 Jan 2019 23:55:13 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:44698 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732117AbfAPEzN (ORCPT ); Tue, 15 Jan 2019 23:55:13 -0500 Received: by mail-lf1-f68.google.com with SMTP id z13so3817902lfe.11 for ; Tue, 15 Jan 2019 20:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9dT6Z1C6XjxVvtC/JI24HhxwtHBgNAG7wWwQyTEeC8g=; b=QWHBTSl2+YiO/WzrvJahbbQ87bpLZ6/onh/Kp5srLGkZrYPlaN6oukCtm1Z0AT1LYO HLIcgFSc+gs7NYsU09HhM39Ym/DIXj/Veu+3Ku/WQn/1IYdcRQ6YkKQPT4jpWtQ4IQkz Qll14RPpm50bpXY+tnYbA7BNDP+sTXeHXafdU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9dT6Z1C6XjxVvtC/JI24HhxwtHBgNAG7wWwQyTEeC8g=; b=DZoGbrfLU+wEPW2HI7DTMQIWDjAqcTTHuIRLtXAyk8ALpt70u2UDE4yiUdiWFMWJtQ 25Nv2aBzzMJm6dzgOwlry1YufgbMC3BPWneTsKG9eZ14qerQiR3lOvzNrK/QX7+C6lG0 E0Ye4dm2Ld6y1s46Ljk52L4ArDPD5OJthw6hbp8ORzHEtQ4ruLbVI4TCUqN4RQy1jCRV gvNjQ563CY/PSYVZ4XeBRRhTnGY3ePTGuOwiN+mQ0FecAhDB9jjTM+nmKMNUeoC5RbDs K5+R0rbDMaZTBDv9W+ZGz2hNsW29mOaW66KxrDV7YPhPaL67g+4iYGH0FNtmHLPJsJcf os8g== X-Gm-Message-State: AJcUukflGmyarVqSMOUWpUKxGzdYki1e0lksGBwq3Adea8lYpcQxmgTJ AzyYHwznRxBUOw+x4qcwCR+s31haldo= X-Received: by 2002:a19:41c4:: with SMTP id o187mr5548514lfa.32.1547614510434; Tue, 15 Jan 2019 20:55:10 -0800 (PST) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id h22-v6sm845265ljg.24.2019.01.15.20.55.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Jan 2019 20:55:07 -0800 (PST) Received: by mail-lf1-f49.google.com with SMTP id n18so3844393lfh.6 for ; Tue, 15 Jan 2019 20:55:07 -0800 (PST) X-Received: by 2002:a19:c014:: with SMTP id q20mr5021271lff.16.1547614506503; Tue, 15 Jan 2019 20:55:06 -0800 (PST) MIME-Version: 1.0 References: <20190110070355.GJ27534@dastard> <20190110122442.GA21216@nautica> <20190111020340.GM27534@dastard> <20190111040434.GN27534@dastard> <20190111073606.GP27534@dastard> <20190115234510.GA6173@dastard> In-Reply-To: <20190115234510.GA6173@dastard> From: Linus Torvalds Date: Wed, 16 Jan 2019 16:54:49 +1200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged To: Dave Chinner Cc: Dominique Martinet , Jiri Kosina , Matthew Wilcox , Jann Horn , Andrew Morton , Greg KH , Peter Zijlstra , Michal Hocko , Linux-MM , kernel list , Linux API Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 16, 2019 at 11:45 AM Dave Chinner wrote: > > I'm assuming that you can invalidate the page cache reliably by a > means that does not repeated require probing to detect invalidation > has occurred. I've mentioned one method in this discussion > already... Yes. And it was made clear to you that it was a bug in xfs dio and what the right thing to do was. And you ignored that, and claimed it was a feature. Why do you then bother arguing this thing? We absolutely agree that xfs has an information leak. If you don't care, just _say_ so. Don't try to argue against other people who are trying to fix things. We can easily just say "ok, xfs people don't care", and ignore the xfs invalidation issue. That's fine. But don't try to make it a big deal for other filesystems that _don't_ have the bug. I even pointed out how ext4 does the page cache flushing correcrly. You pooh-poohed it. You can't have it both ways. Either you care or you don't. If you don't care (and so far everything you said seems to imply you don't), then why are you even discussing this? Just admit you don't care, and we're done. Linus