]> err.no Git - linux-2.6/commit
sched: rt-group: fixup schedulability constraints calculation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 27 Feb 2008 11:00:46 +0000 (12:00 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Mar 2008 15:43:00 +0000 (16:43 +0100)
commit2692a2406b9262bbb101708815be99ec2988e48b
tree5f956c6f28e7e83f5a1c57e2724b1739da25da30
parent1868f958eb56fc41c5985c8732e564a400c5fdf5
sched: rt-group: fixup schedulability constraints calculation

it was only possible to configure the rt-group scheduling parameters
beyond the default value in a very small range.

that's because div64_64() has a different calling convention than
do_div() :/

fix a few untidies while we are here; sysctl_sched_rt_period may overflow
due to that multiplication, so cast to u64 first. Also that RUNTIME_INF
juggling makes little sense although its an effective NOP.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c