git: kernel - Throw a global lock around udev dictionary ops

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Dec 26 19:36:51 PST 2018


commit 108c361c483b6fb4bd179b04f6a7173de7125d3d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Dec 26 19:33:23 2018 -0800

    kernel - Throw a global lock around udev dictionary ops
    
    * Throw a global lockmgr lock around accesses and adjustments to
      dev->si_dict.
    
    * Refactor functions that used to access dev->si_dict directly by
      adding two helper functions, udev_get_dict() and udev_put_dict().
    
    * Should fix occassional vn-related panics.

Summary of changes:
 sys/kern/kern_udev.c | 176 +++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 134 insertions(+), 42 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/108c361c483b6fb4bd179b04f6a7173de7125d3d


-- 
DragonFly BSD source repository



More information about the Commits mailing list