]> git.baikalelectronics.ru Git - kernel.git/commit
sched, cgroups: Fix MIN_SHARES on 64-bit boxen
authorMike Galbraith <mgalbraith@suse.de>
Sat, 4 Jun 2011 13:03:20 +0000 (15:03 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Jul 2011 08:25:03 +0000 (10:25 +0200)
commit29cd52fe524607355c09bdc0a8e321220c5a2cbd
tree12544d4a0b84f378691be2a1d3d48a46f42595fc
parent7f9c38f42642622fe6cbc357782ded0349356688
sched, cgroups: Fix MIN_SHARES on 64-bit boxen

Commit 45aae937 ("sched: Increase SCHED_LOAD_SCALE resolution")
intended to have no user-visible effect, but allows setting
cpu.shares to < MIN_SHARES, which the user then sees.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Nikhil Rao <ncrao@google.com>
Link: http://lkml.kernel.org/r/1307192600.8618.3.camel@marge.simson.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c