User: Password:
Subscribe / Log in / New account

Kernel Summit 2006: dynticks

Kernel Summit 2006: dynticks

Posted Jul 19, 2006 23:54 UTC (Wed) by mingo (subscriber, #31122)
Parent article: Kernel Summit 2006: Embedded systems

FYI, the 'generic dyntick' patch referenced to by Thomas Gleixner is completely different from the old dyntick patch (linked to in this article), done by Con Kolivas & co.

Our new code is a complete rewrite, ontop of the GTOD + high-res-timers code, while Con's code implemented a whole new separate infrastructure for dynticks. It turns out that generic dyntick can be implemented in a rather elegant way via the pure use of kernel/hrtimers.c APIs and via some simple callbacks from the scheduler code.

We reused bits of Con's patch: for example the 'timer top' functionality to figure out the most active timers in a running system. We also obviously learned from the experiences of the old dyntick patch - so the new code is SMP-friendly from grounds up, etc.

We also reused the name :-) We didnt feel like naming it dynticks2, beacuse it's not a parallel competition to dynticks (like suspend2 is to suspend) but it is a reimplementation and replacement.

(Log in to post comments)

Kernel Summit 2006: dynticks

Posted Jul 23, 2006 17:38 UTC (Sun) by ChristopheC (guest, #28570) [Link]

Thanks ! Good to know it is on the way to mainline. Is it going in for 2.6.19 ?

Also, will the ACPI patches that were part of Con's patchset be included too ? Con wasn't the author (it was Dominik Brodowski), but IIRC correctly they allowed power savings by using the C3 (and C2 ?) states more aggressively.

Kernel Summit 2006: dynticks

Posted Jul 25, 2006 14:33 UTC (Tue) by tglx (subscriber, #31301) [Link]

Yes, I'm working on that. Dominik resent the patches a few weeks ago and they will be integrated.

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds