Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754600Ab3JHHPc (ORCPT ); Tue, 8 Oct 2013 03:15:32 -0400 Received: from mail-qe0-f46.google.com ([209.85.128.46]:53221 "EHLO mail-qe0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751885Ab3JHHPb (ORCPT ); Tue, 8 Oct 2013 03:15:31 -0400 MIME-Version: 1.0 In-Reply-To: <20131008065449.GL3081@twins.programming.kicks-ass.net> References: <20131002190001.GX3081@twins.programming.kicks-ass.net> <20131002203107.GY3081@twins.programming.kicks-ass.net> <20131003090347.GB3081@twins.programming.kicks-ass.net> <20131008065449.GL3081@twins.programming.kicks-ass.net> Date: Tue, 8 Oct 2013 09:15:30 +0200 Message-ID: Subject: Re: [RFC] perf: mmap2 not covering VM_CLONE regions From: Stephane Eranian To: Peter Zijlstra Cc: Kees Cook , 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=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 18 On Tue, Oct 8, 2013 at 8:54 AM, Peter Zijlstra wrote: > On Mon, Oct 07, 2013 at 11:04:38PM +0200, Stephane Eranian wrote: >> Peter, >> >> Ok, so I tried this. It does not cover shmat() cases unfortunately. >> We need that same ++global_mm_id somewhere on that code path. >> Haven't looked at it in details just yet. > > shmat() is a regular shared memory thingy right? So that should be > covered by the regular inode,dev bits, right? Yes, it is but I am trying to see whether or not we could unify that and use a single u64 number to uniquely identify each mapping. -- 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/