sched: improve the rt-throttling interface master
authorFabio Checconi <fabio@helm.retis>
Sat, 24 Apr 2010 21:09:26 +0000 (23:09 +0200)
committerFabio Checconi <fabio@helm.retis>
Sat, 24 Apr 2010 21:09:26 +0000 (23:09 +0200)
commitd5b05055f6fed29d1b980b89834c0c8732f87c32
tree933be0cd224da7f49064d3ad97d19421c763d66a
parent8b379d9e74041662b67502c6179bc86662efa7a6
sched: improve the rt-throttling interface

The EDF-throttling interface is quite unusable.  Add support for '-1'
rt_task_runtime_us cgroup attribute, and consider it a special value,
assigning to the tasks of the group the same period as their parent
and all the free runtime available.
include/linux/sched.h
kernel/sched.c