Re: [patch 05/10] perf_event_open.2: aux_{head,tail,offset,size} support

From: Peter Zijlstra
Date: Thu Apr 16 2015 - 14:56:27 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/