diff options
| author | Shrikanth Hegde <sshegde@linux.ibm.com> | 2026-03-24 01:06:29 +0530 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-03-25 20:11:30 +0100 |
| commit | ec39780d6a9e05e7e427008603b40efef515b775 (patch) | |
| tree | eb5d63ad1952732896dc375c62013b3da9afd6ac /tools/perf/scripts/python | |
| parent | cc5623947f3d86687c39771fcbea641907966d5c (diff) | |
smp: Get this_cpu once in smp_call_function
smp_call_function_single() and smp_call_function_many_cond() disable
preemption and cache the CPU number via get_cpu().
Use this cached value throughout the function instead of invoking
smp_processor_id() again.
[ tglx: Make the copy&pasta'ed change log match the patch ]
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Link: https://patch.msgid.link/20260323193630.640311-4-sshegde@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
