summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDaniel Stodden <daniel.stodden@citrix.com>2010-05-01 02:01:19 +0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 20:38:43 +0400
commitb70f5fa043b318659c936d8c3c696250e6528944 (patch)
treeca627bca1a32250206d0af888b2c9e98a7a3c4ef /tools/perf/scripts/python/syscall-counts.py
parenta66b5aebb7dc9e695dcb4b528906fd398b63f3d9 (diff)
downloadlinux-b70f5fa043b318659c936d8c3c696250e6528944.tar.xz
blkfront: Lock blkfront_info when closing
The bdev .open/.release fops race against backend switches to Closing, handled by the XenBus thread. The original code attempted to serialize block device holders and xenbus only via bd_mutex. This is insufficient, the info->bd pointer may already be stale (or null) while xenbus tries to bump up the refcount. Protect blkfront_info with a dedicated mutex. Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions