[PATCH v2 0/5] perf: Untangle aux refcounting
From: Alexander Shishkin
Date: Fri Mar 04 2016 - 08:43:18 EST
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