login
Header Space

 
 

Re: Current kernels and power consumption

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Juan RP <juan@...>
Cc: <current-users@...>, <tech-kern@...>
Date: Wednesday, September 26, 2007 - 6:55 pm

On Wed, Sep 26, 2007 at 11:44:04PM +0200, Juan RP wrote:


My system uses those and it also has the problem.
 

So I looked at this and the problem is that MD code idles only if the 'need
resched' flag on the CPU is clear. If the flag is set it returns to the idle
loop, and the flag is usually cleared in mi_switch(). The idle loop will not
enter mi_switch() if there are no jobs in the run queues for the current
CPU. So sometimes the flag doesn't get cleared, and they end up spinning.
The fix is a bit tricky since there are a few different requirements at
play. I'm looking into it at the moment.

Andrew
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Current kernels and power consumption, Juan RP, (Wed Sep 26, 5:44 pm)
Re: Current kernels and power consumption, Hubert Feyrer, (Wed Sep 26, 8:42 pm)
Re: Current kernels and power consumption, Juan RP, (Wed Sep 26, 8:50 pm)
Re: Current kernels and power consumption, Andrew Doran, (Wed Sep 26, 6:55 pm)
Re: Current kernels and power consumption, Juan RP, (Wed Sep 26, 7:00 pm)
speck-geostationary