kernel - Enhance sysv semaphore performance
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Sep 2012 05:05:13 +0000 (22:05 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Sep 2012 05:05:13 +0000 (22:05 -0700)
commit79757ed08249e0348ba8c1415e60aaf31d1f3233
treee5fada369078e30440836c55bf3de573aeb26f53
parentd11c94c438555beb55a29ded85cb60f850149e33
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.
sys/kern/sysv_sem.c
sys/sys/proc.h
sys/sys/sem.h