Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors
From: Andi Kleen
Date: Wed Mar 05 2008 - 12:31:13 EST
> But I don't use jiffies in the idle exit path, only the entry path.
On entry jiffies should be always uptodate. Only on exit there
is the small code window where it isn't.
> > Action: Test if it works
> > Check: If test succeeded exit
> > Otherwise: Restart at Start
> >
>
> Now you're just being a smart-ass. :)
Well you asked for pseudo code ...
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/