exclude the icu and clock lock from LOCK_PROFILING

This commit is contained in:
Kip Macy 2007-01-14 02:13:07 +00:00
parent bf46970484
commit 6f3a846eeb

View File

@ -2118,8 +2118,8 @@ init386(first)
* under witness.
*/
mutex_init();
mtx_init(&clock_lock, "clk", NULL, MTX_SPIN);
mtx_init(&icu_lock, "icu", NULL, MTX_SPIN | MTX_NOWITNESS);
mtx_init(&clock_lock, "clk", NULL, MTX_SPIN | MTX_NOPROFILE);
mtx_init(&icu_lock, "icu", NULL, MTX_SPIN | MTX_NOWITNESS | MTX_NOPROFILE);
/* make ldt memory segments */
ldt_segs[LUCODE_SEL].ssd_limit = atop(0 - 1);