Hi,
in pc/main.c idlehands() the kernel decides to release the CPU only
when you are not running a multicore kernel. As a result there is only
busy waiting. Unfortunately there is no hint telling why we do not let
the CPU rest a little.
> void
> idlehands(void)
> {
> if(conf.nmach == 1)
> halt();
> }
I am running a mostly idle plan9 VM on my laptop and it causes the
battery to discharge in no time. Right now my kernel has the condition
commented out and it seems to work fine. Still i would like
to understand why this condition was put there. It is probably causing a
lot of energy to be wasted which should better be for a good reason.
Henning