kernel_task consuming 150% CPU; system unusable
I have run dtrace on the kernel and it seems that it's spending a lot of time in the log_level function:
twiggy:Documents remenda$ sudo ./hotkernel.pl
Password:
Sampling... Hit Ctrl-C to end.
FUNCTION COUNT PCNT
<snip>
mach kernel`ml_set_interruptsenabled 2049 5.3%
mach kernel`machineidle 9827 25.4%
mach kernel`loglevel 22406 57.8%
My CPU temperature is 66 degrees C. Both cores are active, so I believe this problem to be distinct from the temperature-related core shutdowns in other threads.
Macbook Air, Mac OS X (10.5.4)