DragonFly commits List (threaded) for 2010-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Bring devfs_assume_knotes() uptodate and fix panic
commit 377c34618491e4564dfe205f5ecc1ea9d6bd84bc
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Sat Sep 25 10:43:55 2010 -0700
kernel - Bring devfs_assume_knotes() uptodate and fix panic
* devfs_assume_knotes() was blindly transfering the knotes without
properly acquiring their soft-lock.
The problem was easily reproducable by running 'moused -p /dev/ums0'
and then unplugging the mouse.
* Move the core of the routine into a new procedure in kern_event.c
called knote_assume_knotes() which properly acquires and releases
the underlying knotes.
Summary of changes:
sys/kern/kern_event.c | 20 ++++++++++++++++++++
sys/vfs/devfs/devfs_core.c | 18 +++++-------------
2 files changed, 25 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/377c34618491e4564dfe205f5ecc1ea9d6bd84bc
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]