git: kernel - Fix deadlock in sound system

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 29 18:25:26 PDT 2017


commit 3e70120537078a935df7865ca86c4f98139d3c6f
Author: Matthew Dillon <dillon at apollo.backplane.com>
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3e70120537078a935df7865ca86c4f98139d3c6f


-- 
DragonFly BSD source repository



More information about the Commits mailing list