summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorShrikanth Hegde <sshegde@linux.ibm.com>2026-05-15 22:54:53 +0530
committerPeter Zijlstra <peterz@infradead.org>2026-05-19 12:17:36 +0200
commit815c5cb76a3e5dad4fc3911b9073591dc3a29282 (patch)
treed5131b34302b092fdcc2e0c917045a7047ba1ed5 /scripts/objdiff
parent6d2051403d6c93832d3058a1b275c6aef2c97f44 (diff)
topology: Introduce cpu_smt_mask for CONFIG_SCHED_SMT=n
Define cpu_smt_mask in case of CONFIG_SCHED_SMT=n as cpumask_of that CPU. With that config, it is expected that kernel treats each CPU as individual core. Using cpumask_of(cpu) reflects that. This would help to get rid of the ifdeffery that is spread across the codebase since cpu_smt_mask is defined only in case of CONFIG_SCHED_SMT=y. Note: There is no arch today which defines cpu_smt_mask unconditionally. So likely defining the cpu_smt_mask shouldn't lead redefinition errors. Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Phil Auld <pauld@redhat.com> Reviewed-by: Valentin Schneider <vschneid@redhat.com> Tested-by: K Prateek Nayak <kprateek.nayak@amd.com> Link: https://patch.msgid.link/20260515172456.542799-2-sshegde@linux.ibm.com
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions