diff options
author | 2008-01-25 21:08:32 +0100 | |
---|---|---|
committer | 2008-01-25 21:08:32 +0100 | |
commit | 5a52dd50091b6a6e710a1293db741028f8cc5aac (patch) | |
tree | ea2b361909e431c458c26208e501ea3cf10edd85 /lib/kernel_lock.c | |
parent | sched: rt-group: reduce rescheduling (diff) | |
download | wireguard-linux-5a52dd50091b6a6e710a1293db741028f8cc5aac.tar.xz wireguard-linux-5a52dd50091b6a6e710a1293db741028f8cc5aac.zip |
sched: rt-watchdog: fix .rlim_max = RLIM_INFINITY
Remove the curious logic to set it_sched_expires in the future. It useless
because rt.timeout wouldn't be incremented anyway.
Explicity check for RLIM_INFINITY as a test programm that had a 1s soft limit
and a inf hard limit would SIGKILL at 1s. This is because RLIM_INFINITY+d-1
is d-2.
Signed-off-by: Peter Zijlsta <a.p.zijlstra@chello.nl>
CC: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/kernel_lock.c')
0 files changed, 0 insertions, 0 deletions