Don't take the Giant mutex for clock interrupts.

This commit is contained in:
Doug Rabson 2001-04-19 12:34:23 +00:00
parent 3455a26dc3
commit eed829bca9

View File

@ -87,7 +87,6 @@ interrupt(u_int64_t vector, struct trapframe *framep)
case 240: /* clock interrupt */
CTR0(KTR_INTR, "clock interrupt");
mtx_lock(&Giant);
cnt.v_intr++;
#ifdef EVCNT_COUNTERS
clock_intr_evcnt.ev_count++;
@ -99,7 +98,6 @@ interrupt(u_int64_t vector, struct trapframe *framep)
/* divide hz (1024) by 8 to get stathz (128) */
if((++schedclk2 & 0x7) == 0)
statclock((struct clockframe *)framep);
mtx_unlock(&Giant);
break;
default: