kernel - Carefully refactor contended tokens and spinlocks (2)
commit0f22bffdb9e9ed584b904d1a380ddf93b698e64e
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 23 Apr 2018 02:24:07 +0000 (22 19:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 23 Apr 2018 02:31:28 +0000 (22 19:31 -0700)
tree441d52dd44fdd0a9b6a378e2a7b5d22e7ed10e34
parentb8b08456e04cfcd0fbd2666ce8434c6c8393c41d
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.
sys/kern/lwkt_token.c
sys/sys/spinlock.h