Posix timers: limit number of timers firing at once
authorLinus Torvalds <torvalds@g5.osdl.org>
Sun, 23 Oct 2005 17:02:50 +0000 (10:02 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 23 Oct 2005 17:02:50 +0000 (10:02 -0700)
Bursty timers aren't good for anybody, very much including latency for
other programs when we trigger lots of timers in interrupt context.  So
set a random limit, after which we'll handle the rest on the next timer
tick.

Noted by Oleg Nesterov <oleg@tv-sign.ru>

Signed-off-by: Linus Torvalds <torvalds@osdl.org>

No differences found