[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080305173212.GA12629@one.firstfloor.org>
Date: Wed, 5 Mar 2008 18:32:12 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Pierre Ossman <drzeus-list@...eus.cx>
Cc: Andi Kleen <andi@...stfloor.org>,
"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>,
Dave Jones <davej@...emonkey.org.uk>,
Alan Stern <stern@...land.harvard.edu>,
LKML <linux-kernel@...r.kernel.org>,
Adam Belay <abelay@...ell.com>,
Lee Revell <rlrevell@...-job.com>,
linux-pm@...ts.linux-foundation.org, Pavel Machek <pavel@....cz>
Subject: Re: [linux-pm] [PATCH] cpuidle: avoid singing capacitors
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists