Use mask instead of modulo, since bo->backoff is always power of 2
commitbdf2da8cf71df690bdd39ae5a5bc2f5d3f29c829
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 5 May 2008 11:07:48 +0000 (5 11:07 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 5 May 2008 11:07:48 +0000 (5 11:07 +0000)
tree880b5f36e4ad7b3d366b69b9a17974258d251c56
parent5b618ec993eb589448b528bc3696a6414b9c956d
Use mask instead of modulo, since bo->backoff is always power of 2

Suggested-by: dillon@
sys/kern/kern_spinlock.c