git: kernel - Carefully refactor contended tokens and spinlocks (2)

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


commit 0f22bffdb9e9ed584b904d1a380ddf93b698e64e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Apr 22 19:24:07 2018 -0700

    kernel - Carefully refactor contended tokens and spinlocks (2)
    
    * After testing, increasing the exponential cap from 1024 to
      4096 appears to produce better results, so the previous comment
      is wrong.  Adjust the default and the comment.
    
    * Forgot to commit the changes to spinlock.h, fixed.

Summary of changes:
 sys/kern/lwkt_token.c | 6 +++---
 sys/sys/spinlock.h    | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f22bffdb9e9ed584b904d1a380ddf93b698e64e


-- 
DragonFly BSD source repository


More information about the Commits mailing list