aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/usercopy.c
diff options
context:
space:
mode:
authorGravatar Peter Zijlstra <peterz@infradead.org> 2015-06-18 12:32:49 +0200
committerGravatar Ingo Molnar <mingo@kernel.org> 2015-07-06 14:08:30 +0200
commit57ffc5ca679f499f4704fd9b6a372916f59930ee (patch)
treed0cd5624c19e90d3bbbc9462b5ae6bbb1e6a9c81 /arch/x86/lib/usercopy.c
parentMerge branch 'perf/rbtree_copy' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-57ffc5ca679f499f4704fd9b6a372916f59930ee.tar.gz
linux-57ffc5ca679f499f4704fd9b6a372916f59930ee.tar.bz2
linux-57ffc5ca679f499f4704fd9b6a372916f59930ee.zip
perf: Fix AUX buffer refcounting
Its currently possible to drop the last refcount to the aux buffer from NMI context, which results in the expected fireworks. The refcounting needs a bigger overhaul, but to cure the immediate problem, delay the freeing by using an irq_work. Reviewed-and-tested-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reported-by: Vince Weaver <vincent.weaver@maine.edu> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20150618103249.GK19282@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions