commit 948d6431553d280ef554aac789522b8ffdda7185
Author: Matthew Dillon <[email protected]>
Date:   Fri Feb 14 16:01:09 2020 -0800

    devfs - Clean up some SMP inefficiencies
    
    * We don't need the devfs master lock around a setattr call.  This
      fixes the open(O_CREAT|O_TRUNC) path for redirects to e.g. /dev/null,
      which is used all over the place in ports builds.
    
    * The devfs spec open (open() again) path can obtain the devfs master
      lock shared instead of exclusive, except in the cloning case.
      This significantly reduces stalls during heavily concurrent bulk
      builds.

Summary of changes:
 sys/vfs/devfs/devfs_vnops.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/948d6431553d280ef554aac789522b8ffdda7185


-- 
DragonFly BSD source repository

Reply via email to