Use atomic_fetchadd_int() in fdrop() instead of the spin-lock.
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 31 Mar 2009 23:56:14 +0000 (16:56 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 31 Mar 2009 23:56:14 +0000 (16:56 -0700)
commitbc1eb67657338679ed507f0e7348249ded24abcf
treefce78ddcc65ead4a9779f59010bc71d910b1d747
parent3875f5b0c9a4eec6f1013b70be51cc7b733c3523
Use atomic_fetchadd_int() in fdrop() instead of the spin-lock.
sys/kern/kern_descrip.c