Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754532Ab3JBTi5 (ORCPT ); Wed, 2 Oct 2013 15:38:57 -0400 Received: from mail-ie0-f181.google.com ([209.85.223.181]:62932 "EHLO mail-ie0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753461Ab3JBTiz (ORCPT ); Wed, 2 Oct 2013 15:38:55 -0400 MIME-Version: 1.0 In-Reply-To: <20131002190001.GX3081@twins.programming.kicks-ass.net> References: <20131002124610.GD28601@twins.programming.kicks-ass.net> <20131002130143.GF28601@twins.programming.kicks-ass.net> <20131002133759.GH28601@twins.programming.kicks-ass.net> <20131002190001.GX3081@twins.programming.kicks-ass.net> Date: Wed, 2 Oct 2013 12:38:54 -0700 X-Google-Sender-Auth: MZqAotOU2JsGW6WSMVUZ4ggDpWw Message-ID: Subject: Re: [RFC] perf: mmap2 not covering VM_CLONE regions From: Kees Cook To: Peter Zijlstra Cc: Stephane Eranian , Ingo Molnar , LKML , "mingo@elte.hu" , "ak@linux.intel.com" , Arnaldo Carvalho de Melo , David Ahern , Jiri Olsa , Hugh Dickins , Linus Torvalds , Andrew Morton Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 800 Lines: 21 On Wed, Oct 2, 2013 at 12:00 PM, Peter Zijlstra 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/