From: Peter Zijlstra Date: Fri, 25 Jan 2008 20:08:32 +0000 (+0100) Subject: sched: rt-watchdog: fix .rlim_max = RLIM_INFINITY X-Git-Tag: v2.6.25-rc1~1237^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a52dd50091b6a6e710a1293db741028f8cc5aac;p=pandora-kernel.git 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 CC: Michal Schmidt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed