Hi, Bill Davidsen wrote: > Do you actually have something against tickless, or just don't think it > can be done in reasonable time? You can do it in small steps. When you have that jiffies_increment variable, you can add code to dynamically adjust it at runtime -- just reprogram the system timer (which may not be cheap). After you've done *that*, you can teach the add_timer code to optionally adjust jiffies_increment when demand changes; add an estimate on timer tick cost vs. reprogramming cost (which could return "always" when you're running UML); you might want to take user prefs into account ("always reprogram if the timeout would arrive more than 10 msec late, because otherwise my Doom3 game lags too much"). There you are. Tickless, and nobody even notices. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [email protected] Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Caesar had his Brutus -- charles the First, his Cromwell -- and George the Third ("Treason!" cried the Speaker) -- may profit by their example. If this be treason, make the most of it. -- Patrick Henry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: George Anzinger <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Bill Davidsen <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: David Lang <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Vojtech Pavlik <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Dmitry Torokhov <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Andrew Morton <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Chris Wedgwood <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Jesper Juhl <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Bill Davidsen <[email protected]>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Prev by Date: Re: Buffer Over-runs, was Open source firewalls
- Next by Date: RE: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Previous by thread: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Next by thread: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Index(es):