From: Hideo S. <sa...@de...> - 2007-05-11 02:07:47
|
Hi Paul, On Thu, 10 May 2007 14:15:26 +0900, Paul Mundt wrote: > No, consider the use case where a platform implements pm_idle() and > depends on certain conditions to be met to determine what sort of > power-save state can be entered. It's still necessary to have the logic > in default_idle() and to have that exported so it can be called back in > to from pm_idle(), should the latter not have any meaningful work it can > do at the time. I see, but I think following change in default_idle() does not need. + } else + while (!need_resched()) + cpu_relax(); how about following change? + } else cpu_relax(); > In any event, if the previous patches fixes the problems you've been > seeing, I'll queue it up. It works fine with dynamic ticks on SH7785 at > least (both with and without hlt).. Yes, my testing is also done successfully. |