[PATCH tip/core/rcu 0/3] Crude timer-wheel latency hacks

From: Paul E. McKenney
Date: Mon Jan 13 2014 - 23:15:05 EST


Hello!

The following three patches provide some crude timer-wheel latency
patches. I understand that a more comprehensive solution is in progress,
but in the meantime, these patches work well in cases where a given
CPU has either zero or one timers pending, which is a common case for
NO_HZ_FULL kernels. So, on the off-chance that this is helpful to
someone, the individual patches are as follows:

1. Avoid jiffy-at-a-time stepping when the timer wheel is empty.

2. Avoid jiffy-at-a-time stepping when the timer wheel transitions
to empty.

3. Avoid jiffy-at-a-time stepping after a timer is added to an
initially empty timer wheel.

Thanx, Paul

------------------------------------------------------------------------

b/kernel/timer.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/