[PATCH v2 0/5] perf: Untangle aux refcounting

Alexander Shishkin
2016-03-04T13:43:14Z

Hi Peter,

Here's a long overdue update of the previous attempt to untangle the
aux buffer unmapping and deallocation. Most of the work is in 2/5.

Alexander Shishkin (5):
perf: Refuse to begin aux transaction after aux_mmap_count drops
perf: Free aux pages in unmap path
perf: Document aux api usage
perf/x86/intel/pt: Move transaction start/stop to pmu start/stop
callbacks
perf/x86/intel/bts: Move transaction start/stop to start/stop
callbacks

arch/x86/events/intel/bts.c | 105 ++++++++++++++++++++------------------------
arch/x86/events/intel/pt.c | 85 ++++++++++++-----------------------
kernel/events/core.c | 100 ++++++++++++++++++++++++++++++++++++++++-
kernel/events/internal.h | 1 -
kernel/events/ring_buffer.c | 52 +++++++++++-----------
5 files changed, 200 insertions(+), 143 deletions(-)

--
2.7.0