Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2131038imu; Sat, 5 Jan 2019 15:41:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN4kaROyZL2V/6soZvVPoRUzBsgYkHvGeHEhkA5Y7yve6sTQPt09JjK7le+qKeEVEjJrYZWG X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr54955732plg.222.1546731715595; Sat, 05 Jan 2019 15:41:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546731715; cv=none; d=google.com; s=arc-20160816; b=0eMqXpfGApa83rTcsRv/tUx+MfOb3OrC6XZLVGJJtOU0TNdDxcpBNwkrrRzIuqAyhF BUTDkFqI0IN1/IGC+RKYdw/Moy2AiV/gpcoh7puHXcJ+JnxbTQ53l4xqTb0/31F3Eh5y wYZ1xsMtMmfq02GsJZgqXNqcwBn1NEyrHRqXEes4wHHwyVpZDBW2CDfTcQ/24/vem6HU fro1AWtG47sZdUkg9x8LQi6nzDpcPyPLSG0LmL86jJvgSX/AEsnfzMee89ZLV4m7xoCu AztZM2aMAotNsVNEVOsi+TgQI7CR/kQKLwxYIvCN6fj62sHFKRFn/KS4fPKFHPYA9xn0 7uEQ== 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=bqn7KU+WgVrfy/zTMX85nX2nASUNdrmXGozjZhj/P34=; b=Di312Uiqk/N3HkoUVptMmGFXsko8zBM+64r/37n2o0f6xPvvZ2Wp0Wp3v0JZ6rYkLY 8hvDmA0XNTNNoCkhJ92dbzAcqfktWa0NC5snUJwyXUsJDCCvgo0SSQVBvTvN2hy4XVcU kl/0/h0+PcEpAWosTjZSGkQF9x1zYJtbzLz+oXQUou4EYXMCjIWJATL8wBKEHpZQuPJ7 xXwf6UlrGBD5ihp5my75SlB8WDtEL+SRc2brMW9NE7UeKCB2iqlUfC5xvg24fYz5IiVd D+4qveKJsrOA6JmFEYAj+/KGcalyx3bfSQM0SW754G/az/BC42i9xd90zN04uRpatMUU yn/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=T5rpLbUe; 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 t65si28475311pfb.247.2019.01.05.15.41.39; Sat, 05 Jan 2019 15:41:55 -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=T5rpLbUe; 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 S1726378AbfAEXjc (ORCPT + 99 others); Sat, 5 Jan 2019 18:39:32 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43064 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbfAEXjb (ORCPT ); Sat, 5 Jan 2019 18:39:31 -0500 Received: by mail-lf1-f67.google.com with SMTP id u18so27755249lff.10 for ; Sat, 05 Jan 2019 15:39:29 -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=bqn7KU+WgVrfy/zTMX85nX2nASUNdrmXGozjZhj/P34=; b=T5rpLbUe43AjyR/Tays+5hbKh/g/PPzb5DJwZdl42hJPSlD71AGfF/5kapE247v3zf WwJ+RVtey6C00eBVmeJ6Ke+ra/20LG+umoF5rijWao25CREZdQDrrdSryW3gSlN1T25V nd/Di9P/35w1cIE/gk7xjYwTnPmL9y0w+5e5o= 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=bqn7KU+WgVrfy/zTMX85nX2nASUNdrmXGozjZhj/P34=; b=qHw6lmfi45dX8551NeX0NSL2FenXR+N/0WAUrffv1ybZhgiNwFF9G6Xq6AXzGJI9Sv t5RVHqMZQ4wz09fJpFbMz3eQOpYVwXqzTAzJlJ5KPE7I5Apl+P7xnsZqsQGchArsPf+n OUTsTj7DS3YgYSJROVBcFdMsd1AKvM6tu6rh1j+2gEAhc2KUfCRkmq6mlLXoCuOBdjrK Ib67Q/autR3O/K52oxPGL31Fj2Z/G+NfOErMN9j2Vhss6HqmJoZLGTmJOSRQ6HsSN7ff iv4OStUFKtONskWPSACiz3eWkESD3mT7qAYL6lZqPodYyVxk9Sarm7HYF7QWqnYlrakl gCOQ== X-Gm-Message-State: AA+aEWZceQ/ZNkqgeZ3+InYQbQbt/uJX3rCfykYEuyWfvyqPnnUUHhw8 y3Wfk7xNXT7MGnDj8HA6jZoRlVgacEg= X-Received: by 2002:a19:c4cc:: with SMTP id u195mr26923211lff.141.1546731568159; Sat, 05 Jan 2019 15:39:28 -0800 (PST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id r10-v6sm13200392ljj.71.2019.01.05.15.39.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Jan 2019 15:39:27 -0800 (PST) Received: by mail-lf1-f48.google.com with SMTP id b20so27747905lfa.12 for ; Sat, 05 Jan 2019 15:39:26 -0800 (PST) X-Received: by 2002:a19:6e0b:: with SMTP id j11mr30186946lfc.124.1546731566565; Sat, 05 Jan 2019 15:39:26 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Sat, 5 Jan 2019 15:39:10 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged To: Jann Horn Cc: Jiri Kosina , 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 Sat, Jan 5, 2019 at 3:16 PM Linus Torvalds wrote: > > It goes back to forever, it looks like. I can't find a reason. mincore() was originally added in 2.3.52pre3, it looks like. Around 2000 or so. But sadly before the BK history. And that comment about "Later we can get more picky about what "in core" means precisely." that still exists above mincore_page() goes back to the original patch. Linus