perf: Fix SIGIO handling
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 26 May 2011 15:02:53 +0000 (17:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 28 May 2011 15:04:59 +0000 (17:04 +0200)
commitf506b3dc0ec454a16d40cab9ee5d75435b39dc50
treefc0dfaab17f42445e04abf51817016647a9c6b56
parente4a338d05df93ab1ebf291aca1e753064319d301
perf: Fix SIGIO handling

Vince noticed that unless we mmap() a buffer, SIGIO gets lost. So
explicitly push the wakeup (including signals) when requested.

Reported-by: Vince Weaver <vweaver1@eecs.utk.edu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <stable@kernel.org>
Link: http://lkml.kernel.org/n/tip-2euus3f3x3dyvdk52cjxw8zu@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c