Re: [RFC] perf: mmap2 not covering VM_CLONE regions

From: Kees Cook
Date: Wed Oct 02 2013 - 15:39:00 EST


On Wed, Oct 2, 2013 at 12:00 PM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Wed, Oct 02, 2013 at 11:10:15AM -0700, Kees Cook wrote:
>> Seems like a simple enough solution. Surely there must be a catch. :)
>
> I didn't want to add this to the core mm just for perf..

It seems like it would be pretty inexpensive. It might also be
valuable in other situations. Not that I can think of any at the
moment. Additionally, it could likely be hidden by a CONFIG, so that
if perf isn't built in, there's no change?

-Kees

--
Kees Cook
Chrome OS Security
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/