aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael S. Tsirkin <[email protected]>2010-09-19 17:02:31 +0000
committerMarcelo Tosatti <[email protected]>2010-09-23 14:31:51 +0000
commit6bbfb2653177a00f70e57e53625502d43804fed0 (patch)
treeb0196884ead501481a3ae3a27d45b41b43ec117d /tools/perf/scripts/python
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 (diff)
downloadkernel-6bbfb2653177a00f70e57e53625502d43804fed0.tar.gz
kernel-6bbfb2653177a00f70e57e53625502d43804fed0.zip
KVM: fix irqfd assign/deassign race
I think I see the following (theoretical) race: During irqfd assign, we drop irqfds lock before we schedule inject work. Therefore, deassign running on another CPU could cause shutdown and flush to run before inject, causing user after free in inject. A simple fix it to schedule inject under the lock. Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Gregory Haskins <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions