From: Michael Ellerman Subject: Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged Date: Mon, 07 Jan 2019 21:10:46 +1100 Message-ID: <87y37waic9.fsf@concordia.ellerman.id.au> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Linus Torvalds , Jann Horn Cc: Jiri Kosina , Andrew Morton , Greg KH , Peter Zijlstra , Michal Hocko , Linux-MM , kernel list , Linux API List-Id: linux-api@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