git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d384e35
)
sched: group scheduler, set uid share fix
author
Ingo Molnar
<mingo@elte.hu>
Tue, 22 Jan 2008 10:24:58 +0000
(11:24 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 22 Jan 2008 10:24:58 +0000
(11:24 +0100)
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>
kernel/sched.c
patch
|
blob
|
history
diff --cc
kernel/sched.c
Simple merge