aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-07-10 08:27:48 +0000
committerPeter Zijlstra <[email protected]>2025-07-10 15:52:13 +0000
commit2885daf47081dd1aaf1a588e9d001eb343df1f90 (patch)
tree11fc6d0f2237a85a227d9f6dedc06f23add30a5f /tools/perf/scripts/python
parentsched/fair: Always trigger resched at the end of a protected period (diff)
downloadkernel-2885daf47081dd1aaf1a588e9d001eb343df1f90.tar.gz
kernel-2885daf47081dd1aaf1a588e9d001eb343df1f90.zip
lib/smp_processor_id: Make migration check unconditional of SMP
Commit cac5cefbade90 ("sched/smp: Make SMP unconditional") migrate_disable() even on UP builds. Commit 06ddd17521bf1 ("sched/smp: Always define is_percpu_thread() and scheduler_ipi()") made is_percpu_thread() check the affinity mask instead replying always true for UP mask. As a consequence smp_processor_id() now complains if invoked within a migrate_disable() section because is_percpu_thread() checks its mask and the migration check is left out. Make migration check unconditional of SMP. Fixes: cac5cefbade90 ("sched/smp: Make SMP unconditional") Closes: https://lore.kernel.org/oe-lkp/[email protected] Reported-by: kernel test robot <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Chen Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions