Hi all,

I know that the perf_event_mlock_kb kernel parameter allows to limit the
amount of counters sampling memory that can be mmap'ed by an unprivileged
user.

Nevertheless, playing with the size I give to mmap some memory using the
file descriptor returned by perf_event_open I am not able to linkk with the
perf_event_mlock_kb parameter. Looking into kernel sources, it seems this
parameter is used in kernel/events/core.c where the perf mmap operation is
defined but I am not sure to understand the code there. So my question is
what is the exact meaning of this parameter ?


--
Manu
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to