git: DragonFly_RELEASE_4_8 kernel - Fix deadlock in sound system

Matthew Dillon dillon at
Wed Mar 29 18:25:44 PDT 2017

commit bfe44f73ab126ae9bbc689e93baf14ae281c2946
Author: Matthew Dillon <dillon at>
Date:   Wed Mar 29 18:23:27 2017 -0700

    kernel - Fix deadlock in sound system
    * There is a deadlock between the sound system and devfs where one thread
      locks the sound system and calls into devfs, and another calls into devfs
      which holds the devfs lock while calling back into the sound system.
    * Fixed by unlocking devfs across the callback.
    * Easily triggered by the mate desktop (mate-session, sound preference,
      click random sound effects until deadlock occurs).
    Reported-by: ozmage

Summary of changes:
 sys/vfs/devfs/devfs_core.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list