maybe the bug is caused by the line
se->load.inv_weight = div64_64((1ULL<<32), shares);
in set_se_shares in sched.c?
if shares is 1, div64_64 returns 1<<32, but inv_weight is long(32 bit),
and only the 33th bit is 1, so inv_weight is 0...

-- 
setting /sys/kernel/uids/<uid>/cpu_share to 1 causes the scheduler to give most 
of the cpu time to this uid
https://bugs.launchpad.net/bugs/178151
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to