Commit 84b410cb authored by Tim C Chen's avatar Tim C Chen Committed by Jie Liu
Browse files

sched/topology: Propagate SMT flags when removing degenerate domain

mainline inclusion
from mainline-v6.4-rc2
commit bf2dc42d
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8E8NN
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bf2dc42d6beb890c995b8b09f881ef1b37259107



----------------------------------------------------------------------

When a degenerate cluster domain for core with SMT CPUs is removed,
the SD_SHARE_CPUCAPACITY flag in the local child sched group was not
propagated to the new parent.  We need this flag to properly determine
whether the local sched group is SMT.  Set the flag in the local
child sched group of the new parent sched domain.

Signed-off-by: default avatarTim Chen <tim.c.chen@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Link: https://lkml.kernel.org/r/73cf0959eafa53c02e7ef6bf805d751d9190e55d.1683156492.git.tim.c.chen@linux.intel.com


Signed-off-by: default avatarJie Liu <liujie375@h-partners.com>
parent eb54b9e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment