[Bug 178151] Re: setting /sys/kernel/uids/<uid>/cpu_share to 1 causes the scheduler to give most of the cpu time to this uid
dm
davmarkus at msn.com
Tue Dec 25 07:52:23 UTC 2007
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 Kernel
Bugs, which is a bug contact for linux-meta in ubuntu.
More information about the kernel-bugs
mailing list