aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJason Low <[email protected]>2015-02-13 03:58:07 +0000
committerTejun Heo <[email protected]>2015-03-02 16:55:04 +0000
commit283cb41f426b723a0255702b761b0fc5d1b53a81 (patch)
tree269caf80d8733b12ab9542b10395dd98181e6791 /net/switchdev/switchdev.c
parentcpuset: fix a warning when clearing configured masks in old hierarchy (diff)
downloadkernel-283cb41f426b723a0255702b761b0fc5d1b53a81.tar.gz
kernel-283cb41f426b723a0255702b761b0fc5d1b53a81.zip
cpuset: Fix cpuset sched_relax_domain_level
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 is able to address that problem by having update_domain_attr_tree() allow updates for the root in the cpuset traversal. Fixes: fc560a26acce ("cpuset: replace cpuset->stack_list with cpuset_for_each_descendant_pre()") Cc: <[email protected]> # 3.9+ Signed-off-by: Jason Low <[email protected]> Signed-off-by: Zefan Li <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Tested-by: Serge Hallyn <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions