Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp398861imu; Fri, 11 Jan 2019 02:22:36 -0800 (PST) X-Google-Smtp-Source: ALg8bN7aHeIv3aDE1/8D+zCaOzIxo+57k5o62Zqb2FlpGo8fZaHLxRt1GBv2Z/Asnuy7caknQuy4 X-Received: by 2002:a17:902:1745:: with SMTP id i63mr13743557pli.145.1547202156715; Fri, 11 Jan 2019 02:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547202156; cv=none; d=google.com; s=arc-20160816; b=v/Pu5FaBFpTwj+CBN8QcnXdCHKSzkjTtIUtHaCL23EoLiBrTjY43E3x6qRuksT7ZD7 DzdSxlp+kQ7t2YH+ZjbZZ0AwC/S+Y4aaD2umqXyzvuYeUm9Slj9B7wVZAgEO7kQOb3Zu dr4KT9gMGQMjJXUZVlGP5D6WwkekSK2hKdMqhKHX4YSC7BsAOZ9XOiJsd6IVpccldb+9 BdpumNN/ZgDU2V4jcceSkngK5vGVHXj0rDAn4WRS8TnfpH3p8lZvncy8ZLgU9BVq/owQ a4Tse5InTFAVMCdfBOGetx3Yl5sTiCh0ieo1poJqTyMhSw6K3EqvxFty6CnMBf6qoBUF ULDw== 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=APfuF3eni2ygNP5lvzz/+mFQk3/YqgPBk1fCHYe99PQ=; b=Q6IEA00nFhh9VTRqbW+Llxj+pobcBS/TgzzX9E2z5JMbIUfl+CAaETrPqFsuu8w43o pZA1fJ2e3zG0VA3oaTcJ/4Y5ixq3hwfJy7uk+OrEVqvCjLl5jN1K1Wr/etVsAZl8in5h ihTWuw3H1lkVvXbeR+A6hRrles9E2O/B+jmUmXccaU061VFumHciPDd3YvRP/BHVPmq8 08IXi5xVMntzrDeseMhpkw/xs+XKwiVr98zS86sHFJs0/BDnuW1EnuOAEnmU4fjlFpEN A5cQgAZL/n7Mx2GeSAakHSqRSGpXixFs+HXdXTrcg3enVb1KsjCaWEGCeAMFX3fSDD4m dzbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KaAhDXQQ; 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 m198si74234626pga.98.2019.01.11.02.22.21; Fri, 11 Jan 2019 02:22: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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KaAhDXQQ; 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 S1729504AbfAKHIa (ORCPT + 99 others); Fri, 11 Jan 2019 02:08:30 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:37379 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725267AbfAKHI3 (ORCPT ); Fri, 11 Jan 2019 02:08:29 -0500 Received: by mail-lf1-f67.google.com with SMTP id y11so10094906lfj.4 for ; Thu, 10 Jan 2019 23:08:27 -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=APfuF3eni2ygNP5lvzz/+mFQk3/YqgPBk1fCHYe99PQ=; b=KaAhDXQQhxGTkyOQB6Zh58GYoR47yKzSYXFs3Y79Su2l+DQ8IGmpxW63UNcyPJHGvv wQSnFdupBpBf5kL/saiWXY7SVolfqC+pL7zukscGHF4TCC1oK0Iksd3zAdJbCDOUP4Iz vb6CbuwOenMcanKm1zjhmiiAMFArdcfsSSBsk= 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=APfuF3eni2ygNP5lvzz/+mFQk3/YqgPBk1fCHYe99PQ=; b=ltXUmsUMqIvHs7is++B1Jf5poGlydv63GaO8E0QhDdk7gnAeM1wknKx8i8BGQAoNT+ DVNhfGzkbn7/rev94eHKKokQliyq3FoJIIGFP15lmsIOzMpfb5HGpO9gq57fntZtBtPZ hDCufTdN4uVYt1vkmdhzqC/5Eq85TGJwf1qKs4YHuUVHNRANEmu5IpAU84aQEyPnATd4 xmqedMgAEmteVrNXI1WhX69U6s6kahyHXWjXS46Uxfgj1ySdSyeZK2oov0RIYOhFbHY2 9Lcf5PjJkA9aAcSx23pSsbXQV6AkcuV5ewzNmnWT6BnVG0CxGGE55dS+jhBPi939eGZY XG0Q== X-Gm-Message-State: AJcUukfKXAFBTx9DVBEVi+FJuVnLRVnDQaXvtUJ7UD4uf0ifPBQrasHB lCW1cx5yQEYG9JO+R6iLZ/TePnS+st4= X-Received: by 2002:a19:a60c:: with SMTP id p12mr7918182lfe.63.1547190505956; Thu, 10 Jan 2019 23:08:25 -0800 (PST) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com. [209.85.167.52]) by smtp.gmail.com with ESMTPSA id g12-v6sm15328335lja.74.2019.01.10.23.08.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 23:08:24 -0800 (PST) Received: by mail-lf1-f52.google.com with SMTP id n18so10088869lfh.6 for ; Thu, 10 Jan 2019 23:08:24 -0800 (PST) X-Received: by 2002:a19:6e0b:: with SMTP id j11mr7920507lfc.124.1547190503820; Thu, 10 Jan 2019 23:08:23 -0800 (PST) MIME-Version: 1.0 References: <20190109043906.GF27534@dastard> <20190110004424.GH27534@dastard> <20190110070355.GJ27534@dastard> <20190110122442.GA21216@nautica> <20190111020340.GM27534@dastard> <20190111040434.GN27534@dastard> In-Reply-To: <20190111040434.GN27534@dastard> From: Linus Torvalds Date: Thu, 10 Jan 2019 23:08:07 -0800 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 Thu, Jan 10, 2019 at 8:04 PM Dave Chinner wrote: > > So it will only read the single page we tried to access and won't > perturb the rest of the message encoded into subsequent pages in > file. Dave, you're being intentionally obtuse, aren't you? It's only that single page that *matters*. That's the page that the probe reveals the status of - but it's also the page that the probe then *changes* the status of. See? Think of it as "the act of measurement changes that which is measured". And that makes the measurement pointless. Linus