git: kernel - Improve kern_dup() performance

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 22 19:31:34 PDT 2018


commit 886546ecb02e3979d903a92d90031f3cc0c7b247
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Apr 22 19:25:23 2018 -0700

    kernel - Improve kern_dup() performance
    
    * Run the operation with a single exclusive spinlock instead of
      acquiring and releasing it twice.  Improves thread-concurent
      dup() performance.

Summary of changes:
 sys/kern/kern_descrip.c | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/886546ecb02e3979d903a92d90031f3cc0c7b247


-- 
DragonFly BSD source repository


More information about the Commits mailing list