git: kernel - pmap->pm_spin now uses a shared spinlock

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Oct 16 11:30:38 PDT 2017


commit 08abdbfcc7c1f8d3e9dcb8464b0cb6be3054bfa0
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Oct 15 11:02:15 2017 -0700

    kernel - pmap->pm_spin now uses a shared spinlock
    
    * A shared spinlock is used whenever possible for pmap->pm_spin.
      This is particularly beneficial for umtx_sleep/umtx_wakeup
      operations.

Summary of changes:
 sys/platform/pc64/x86_64/pmap.c | 102 ++++++++++++++++++++++++++++++++--------
 sys/sys/spinlock2.h             |  13 +++++
 2 files changed, 95 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/08abdbfcc7c1f8d3e9dcb8464b0cb6be3054bfa0


-- 
DragonFly BSD source repository



More information about the Commits mailing list