]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23106dde7b404c5de982b98c3387bbbed8fad785
tree38ab17e7b9839297708a6982d661c3725d181c3a
parentf9ced50b2638ef954cdb7d29cae74e36bb86cdcc
Posix timers: limit number of timers firing at once

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>
kernel/posix-cpu-timers.c