Remove an inappropriate crit_exit() in ehci.c and add a missing crit_exit()
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Jun 2006 20:56:54 +0000 (20:56 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Jun 2006 20:56:54 +0000 (20:56 +0000)
commitb1f72a5cb80b7421ea152515e8aa4ea8054543db
treedb4789aae3cf82ae0555bda1dd3231b8f3530891
parent238c73b50242e47ad2b16a3183f8184645bca4b0
Remove an inappropriate crit_exit() in ehci.c and add a missing crit_exit()
in kern/vfs_subr.c.  Specify string IDs in vfsync_bp() so we don't get
complaints on the console when the kernel is compiled with
DEBUG_CRIT_SECTIONS.

The missing crit_exit() in kern/vfs_subr.c was causing the kernel to leave
threads in a critical section, causing interrupts to stop operating and
cpu-bound userland programs to lock up the rest of the system.

Reported-by: Sascha Wildner <saw@online.de>, others.
sys/bus/usb/ehci.c
sys/kern/vfs_subr.c