kernel - Refactor plimit a little
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Aug 2010 05:22:05 +0000 (22:22 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 30 Aug 2010 05:22:05 +0000 (22:22 -0700)
commitcae52a77b00feda2a67bde0ba0ae078d6f7805a1
tree4a05a30bd6e81ccbf7b827941dfa5d5818c73394
parentcbfc8ecbff0275e60893ea97ae0e3ae818eb4d7e
kernel - Refactor plimit a little

* Use only exclusive spinlocks, I will be removing shared spinlocks.

* Refactor the cpu test such that the hot path does not acquire
  any spinlocks.
sys/kern/kern_plimit.c