Skip to content
Commit c61935fd authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: group scheduler, set uid share fix



setting cpu share to 1 causes hangs, as reported in:

    http://bugzilla.kernel.org/show_bug.cgi?id=9779

as the default share is 1024, the values of 0 and 1 can indeed
cause problems. Limit it to 2 or higher values.

These values can only be set by the root user - but still it
makes sense to protect against nonsensical values.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d384e35a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment