Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755115AbbDPS4X (ORCPT ); Thu, 16 Apr 2015 14:56:23 -0400 Received: from casper.infradead.org ([85.118.1.10]:44980 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754596AbbDPS4O (ORCPT ); Thu, 16 Apr 2015 14:56:14 -0400 Date: Thu, 16 Apr 2015 20:55:59 +0200 From: Peter Zijlstra To: Vince Weaver Cc: "Michael Kerrisk (man-pages)" , linux-man@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Stephane Eranian , Alexander Shishkin , Borislav Petkov , Frederic Weisbecker , "H. Peter Anvin" , Kaixu Xia , Linus Torvalds , Mike Galbraith , Robert Richter , Thomas Gleixner , adrian.hunter@intel.com, kan.liang@intel.com, markus.t.metzger@intel.com, mathieu.poirier@linaro.org Subject: Re: [patch 05/10] perf_event_open.2: aux_{head,tail,offset,size} support Message-ID: <20150416185559.GC23123@twins.programming.kicks-ass.net> References: 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: 682 Lines: 17 On Thu, Apr 16, 2015 at 02:15:52PM -0400, Vince Weaver wrote: > +.I aux_size > +needs to be set to the desired buffer size. > +The desired offset and size must be page aligned. I think we also require the size to be a power of two. > +These values are then passed to mmap in order to map the AUX buffer. > +Pages in the AUX buffer are included as part of the user mlock > +rlimit as well as the > +.I perf_event_mlock_kb > +allowance. -- 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/