]> git.baikalelectronics.ru Git - kernel.git/commit
sched: SCHED_FIFO/SCHED_RR watchdog timer
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 25 Jan 2008 20:08:27 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:27 +0000 (21:08 +0100)
commit67d7d51c63f22e50ee860ba4bb8b1feecc60f98c
tree994e8082a01c78e691bacb90c0f8368823c87767
parent8dce4920f1aec75bb3767cda26394ea3ce59e222
sched: SCHED_FIFO/SCHED_RR watchdog timer

Introduce a new rlimit that allows the user to set a runtime timeout on
real-time tasks their slice. Once this limit is exceeded the task will receive
SIGXCPU.

So it measures runtime since the last sleep.

Input and ideas by Thomas Gleixner and Lennart Poettering.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
CC: Lennart Poettering <mzxreary@0pointer.de>
CC: Michael Kerrisk <mtk.manpages@googlemail.com>
CC: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-generic/resource.h
include/linux/sched.h
kernel/posix-cpu-timers.c
kernel/sched_rt.c