diff options
author | Peter Zijlstra <[email protected]> | 2015-02-09 12:23:20 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-02-18 16:17:23 +0100 |
commit | 2636ed5f8d15ff9395731593537b4b3fdf2af24d (patch) | |
tree | 3e124314e5694fdd6a4b611a054ffe5112a92934 /scripts/basic/bin2c.c | |
parent | 1fe89e1b6d270aa0d3452c60d38461ea589594e3 (diff) |
sched/rt: Avoid obvious configuration fail
Setting the root group's cpu.rt_runtime_us to 0 is a bad thing; it
would disallow the kernel creating RT tasks.
One can of course still set it to 1, which will (likely) still wreck
your kernel, but at least make it clear that setting it to 0 is not
good.
Collect both sanity checks into the one place while we're there.
Suggested-by: Zefan Li <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions