• Peter Zijlstra's avatar
    perf: Disallow mmap() on per-task inherited events · c7920614
    Peter Zijlstra authored
    Since we now have working per-task-per-cpu events for
    a while, disallow mmap() on per-task inherited
    events. Those things were a performance problem
    anyway, and doing away with it allows us to optimize
    the buffer somewhat by assuming there is only a
    single writer.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    c7920614
perf_event.c 130 KB