Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3380837imu; Mon, 7 Jan 2019 02:13:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN6vJBZCoj5rhO4pep1vRtoA6u9WlRWwEuafXyZ2JgBDZfOBL/dIAJb3IhaN+ZLYYPWkeom1 X-Received: by 2002:a65:62da:: with SMTP id m26mr10499789pgv.278.1546856036467; Mon, 07 Jan 2019 02:13:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546856036; cv=none; d=google.com; s=arc-20160816; b=O79lZYhSx27vZr/LQmNPBQx95He0pqveaycEiZ8aVgUMTGbiPsA6Cd9jakCjgVT0X0 vnVJWllcOJ6q7AYWFO5D/HWFh6t72V0jxETuLPN9U98rjJYQvzLrQ5/obDuIADm+I+6B e3vbJR3rExxUyyn3DQQCp54u7ZSMX08No/TRnVnejAQ7XLMjIljw7yQ4Bp/z2WZ9BCmO k6hPFESxaVD8+E6Ci1JP4oHkbNg30v7yUt5rzmkcBcwUhzBCbRUVKMcA7c+425v4u6tT CQYQFHJbaASAz9zwXfKGgVweQRs/ZaZ1W9yCJm4tHGnYKcNJrDWdnXDSgDvXqsIeMIEh MHFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=9+E8TXygfYdmozV77fjkgffcNjZpASo0usYIlbtJEIA=; b=QNlS9g0HKexj5SIyqv68fbdBBGuibplmPSK8MzunyEjVkR1fh80dUsVl/ZOcJ9xUaQ kZhpExcNEIT8m6qwkcE5tjiqDTwnTGihVUXV1Pawwmqz8c4pRBk/sEnjvR/LQkBPOeT3 95IOJJwRMphP0aaBe0Jmno76YnvZr3TgtrZlBYbwqDr6cVLjLCXaZyobtCzDvQ7dILMD aZG0E73EejuOx1X0BE6ENbJy81tGnrjy6RMUQnw795MIzmvjz1ReG09vvZtsBfbbxars vjQwdiPxwYdCaXmyuET34nYSXARE9x1/doKKVT4HaeFMnoBiXWEsyzj2Q1eoaeiBmnh1 JGwA== 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 68si1448983pgd.437.2019.01.07.02.13.40; Mon, 07 Jan 2019 02:13:56 -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 S1727026AbfAGKLM (ORCPT + 99 others); Mon, 7 Jan 2019 05:11:12 -0500 Received: from ozlabs.org ([203.11.71.1]:37635 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbfAGKKu (ORCPT ); Mon, 7 Jan 2019 05:10:50 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 43YB3q3BFVz9sN1; Mon, 7 Jan 2019 21:10:47 +1100 (AEDT) From: Michael Ellerman To: Linus Torvalds , Jann Horn Cc: Jiri Kosina , 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 In-Reply-To: References: Date: Mon, 07 Jan 2019 21:10:46 +1100 Message-ID: <87y37waic9.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds writes: > 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. Yeah, it's here in the commit titled "Import 2.3.52pre3" (takes a second or two to load): https://github.com/mpe/linux-fullhistory/commit/a1bcda3256956318c95c8da8bee09f79190bb034#diff-fd2d793b8b4760b4887c8c7bbb3451d7R1730 But no further detail. (Instructions for using that tree https://github.com/mpe/linux-fullhistory/wiki) cheers