Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755300Ab3JHJhA (ORCPT ); Tue, 8 Oct 2013 05:37:00 -0400 Received: from merlin.infradead.org ([205.233.59.134]:59643 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751914Ab3JHJg5 (ORCPT ); Tue, 8 Oct 2013 05:36:57 -0400 Date: Tue, 8 Oct 2013 11:36:38 +0200 From: Peter Zijlstra To: Stephane Eranian 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 Subject: Re: [RFC] perf: mmap2 not covering VM_CLONE regions Message-ID: <20131008093638.GO3081@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 556 Lines: 11 On Tue, Oct 08, 2013 at 09:15:30AM +0200, Stephane Eranian wrote: > 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. No you cannot; two unrelated executables which have distinct mm_ids can easily mmap() the same shared file. -- 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/