Messages in this thread | | | Date | Wed, 15 Jan 2014 18:10:37 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH tip/core/timers 2/4] timers: Reduce __run_timers() latency for empty list |
| |
On Wed, Jan 15, 2014 at 06:03:10PM +0100, Oleg Nesterov wrote: > On 01/14, Paul E. McKenney wrote: > > > > The __run_timers() function currently steps through the list one jiffy at > > a time > > And this is very suboptimal if jiffies - timer_jiffies is huge. Looks > like, we should rework base->tv* structures, or (perhaps) optimize > the "cascade" logic so that __run_timers() can increment timer_jiffies > and move all the expired timers into work_list at one step. And the > ->next_timer logic is obviously very suboptimal.
Thomas is actually actively working on a replacement for the entire cascade mess.
| |