diff options
author | 2008-01-22 11:24:58 +0100 | |
---|---|---|
committer | 2008-01-22 11:24:58 +0100 | |
commit | c61935fd0e7f087a643827b4bf5ef646963c10fa (patch) | |
tree | 4bfa925404acd5e5ecb6a3e597ab689415ac35e6 /net/unix/af_unix.c | |
parent | Makefile: Change typoed 'behavour' to 'behaviour' (diff) | |
download | wireguard-linux-c61935fd0e7f087a643827b4bf5ef646963c10fa.tar.xz wireguard-linux-c61935fd0e7f087a643827b4bf5ef646963c10fa.zip |
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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions