From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: perf_event: rdpmc self-monitoring overhead issue Date: Mon, 2 Sep 2013 11:23:15 +0200 Message-ID: <20130902092315.GI19750@two.firstfloor.org> References: <87ob8cdji8.fsf@tassilo.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from one.firstfloor.org ([193.170.194.197]:41962 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754369Ab3IBJXR (ORCPT ); Mon, 2 Sep 2013 05:23:17 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: eranian@gmail.com Cc: Andi Kleen , Vince Weaver , LKML , linux-perf-users@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo On Mon, Sep 02, 2013 at 10:24:13AM +0200, Stephane Eranian wrote: > On Mon, Sep 2, 2013 at 4:50 AM, Andi Kleen wrote: > > Stephane Eranian writes: > > > >> I don't see a flag in mmap() to fault it in immediately. > > > > MAP_PRESENT > > > I could not find this constant defined anywhere in the kernel source tree > nor in /usr/include. Are you sure of the name? MAP_POPULATE sorry -Andi