From: Ingo Molnar Date: Tue, 22 Jan 2008 10:24:58 +0000 (+0100) Subject: sched: group scheduler, set uid share fix X-Git-Tag: v2.6.24~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c61935fd0e7f087a643827b4bf5ef646963c10fa;p=pandora-kernel.git 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 --- Reading git-diff-tree failed