svn commit: r212541 - in head/sys: amd64/amd64 amd64/include dev/acpica i386/i386 i386/include kern mips/include mips/mips pc98/pc98 powerpc/aim powerpc/booke powerpc/include powerpc/powerpc sparc6...

Alexander Motin mav at FreeBSD.org
Sat Sep 18 13:48:19 UTC 2010


Hi.

Daan Vreeken wrote:
> On Monday 13 September 2010 09:25:35 Alexander Motin wrote:
>> Author: mav
>> Date: Mon Sep 13 07:25:35 2010
>> New Revision: 212541
>> URL: http://svn.freebsd.org/changeset/base/212541
>>
>> Log:
>>   Refactor timer management code with priority to one-shot operation mode.
>>   The main goal of this is to generate timer interrupts only when there is
>>   some work to do. When CPU is busy interrupts are generating at full rate
>>   of hz + stathz to fullfill scheduler and timekeeping requirements. But
>>   when CPU is idle, only minimum set of interrupts (down to 8 interrupts
>> per second per CPU now), needed to handle scheduled callouts is executed.
>> This allows significantly increase idle CPU sleep time, increasing effect
>> of static power-saving technologies. Also it should reduce host CPU load on
>> virtualized systems, when guest system is idle.
> [snip]
> 
> When re-basing an ARM system running an older -current with local 
> patches/additions to a more recent version of -current (around 
> 2010-09-16-ish) I found out that the resulting kernel stopped booting.
> To factor out our local changes I've tried to boot a 'SHEEVAPLUG' kernel 
> without modifications. This kernel also fails to boot. It just stops right 
> after :
> 
> Can you perhaps tell me what's going wrong after this commit?
> (If you need more info, I'd be happy to provide it where I can.)

Sorry. Timer interrupt loss in one-shot mode made timer to not reload.
r212823 fixes this problem for me.

-- 
Alexander Motin


More information about the svn-src-all mailing list