git: kernel - Enhance sysv semaphore performance

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 14 22:07:17 PDT 2012


commit 79757ed08249e0348ba8c1415e60aaf31d1f3233
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 14 22:05:13 2012 -0700

    kernel - Enhance sysv semaphore performance
    
    * Make the locks used by the semaphore module significantly more
      fine-grained.
    
    * Reorganize the semaphore related structures significantly to
      reduce locking conflicts.
    
    * Reduce overhead and improve performance for handling SEM_UNDO semops.

Summary of changes:
 sys/kern/sysv_sem.c |  686 +++++++++++++++++++++++++++------------------------
 sys/sys/proc.h      |    2 +
 sys/sys/sem.h       |   12 +
 3 files changed, 376 insertions(+), 324 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79757ed08249e0348ba8c1415e60aaf31d1f3233


-- 
DragonFly BSD source repository


More information about the Commits mailing list