original_kernel/drivers/virtio
Rusty Russell 2557a933b7 virtio: remove overzealous BUG_ON.
The 'disable_cb' callback is designed as an optimization to tell the host
we don't need callbacks now.  As it is not reliable, the debug check is
overzealous: it can happen on two CPUs at the same time.  Document this.

Even if it were reliable, the virtio_net driver doesn't disable
callbacks on transmit so the START_USE/END_USE debugging reentrance
protection can be easily tripped even on UP.

Thanks to Balaji Rao for the bug report and testing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CC: Balaji Rao <balajirrao@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-07 13:14:22 -07:00
..
Kconfig
Makefile
config.c
virtio.c
virtio_balloon.c virtio: handle > 2 billion page balloon targets 2008-03-17 22:58:19 +11:00
virtio_pci.c virtio_pci iomem annotations 2008-03-30 14:20:23 -07:00
virtio_ring.c virtio: remove overzealous BUG_ON. 2008-04-07 13:14:22 -07:00