Messages in this thread | | | Subject | Re: [RFC][PATCH] cpuset, sched: Fix cpuset sched_relax_domain_level | From | Jason Low <> | Date | Fri, 30 Jan 2015 10:35:21 -0800 |
| |
On Fri, 2015-01-30 at 12:13 +0800, Zefan Li wrote: > On 2015/1/29 4:47, Jason Low wrote: > > The cpuset.sched_relax_domain_level can control how far we do > > immediate load balancing on a system. However, it was found on recent > > kernels that echo'ing a value into cpuset.sched_relax_domain_level > > did not reduce any immediate load balancing. > > > > The reason this occurred was because the update_domain_attr_tree() traversal > > did not update for the "top_cpuset". This resulted in nothing being changed > > when modifying the sched_relax_domain_level parameter. > > > > This patch was able to address that problem by having update_domain_attr_tree() > > allowing updates for the root (top_cpuset) in the cpuset traversal. > > > > Signed-off-by: Jason Low <jason.low2@hp.com> > > Thanks for finding this bug! > > Please Add: > > Cc: <stable@vger.kernel.org> # 3.9+ > Fixes: fc560a26acce ("cpuset: replace cpuset->stack_list with cpuset_for_each_descendant_pre()")
Okay, I will send out a new version.
Thanks, Jason
| |