RE: [PATCH] CPUidle: increment state counter for state actually entered

2008-10-01 Thread Woodruff, Richard
> [EMAIL PROTECTED] On Behalf Of Kevin Hilman > Sent: Wednesday, October 01, 2008 5:47 AM > This patch does the accounting use 'dev->last_state' state instead of > the governor-chosen state. If the target's enter_idle hook enters a > different state than it was asked, it should update dev->last_

[PATCH] CPUidle: increment state counter for state actually entered

2008-10-01 Thread Kevin Hilman
Currently, the count for state that the governor chooses is always incremented after the 'state_enter' hook is called. However, the target's enter hook may choose a different state based on BM activity or other factors. This patch does the accounting use 'dev->last_state' state instead of the gov