summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wsem.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-01-12 15:44:43 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-01-12 15:44:43 +1030
commite93300b1afc7cd4fe1e741ceaf06714d060e88b8 (patch)
tree060bb46e8d7b570fa08df94aef1cf4cc3620f8c5 /lib/locking-selftest-wsem.h
parentee7cd8981e15bcb365fc762afe3fc47b8242f630 (diff)
downloadlinux-e93300b1afc7cd4fe1e741ceaf06714d060e88b8.tar.bz2
virtio: add debugging if driver doesn't kick.
Under the existing #ifdef DEBUG, check that they don't have more than 1/10 of a second between an add_buf() and a virtqueue_notify()/virtqueue_kick_prepare() call. We could get false positives on a really busy system, but good for development. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions