[tip:locking/core] [locking/osq] 72c440a4e2: will-it-scale.per_thread_ops 40.8% regression

From: kernel test robot

Date: Tue Nov 24 2026 - 02:55:59 EST


Hello,

kernel test robot noticed a 40.8% regression of will-it-scale.per_thread_ops on:

commit: 72c440a4e225879063809c3d0bcdd7e6544069fe ("locking/osq: Save the CPU number for 'prev', not the node address")
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/core

testcase: will-it-scale
config: x86_64-rhel-9.4
compiler: gcc-14
test machine: 192 threads 2 sockets Intel(R) Xeon(R) 6740E CPU @ 2.4GHz (Sierra Forest) with 256G memory
parameters:

nr_task: 100%
mode: thread
test: mmap1
cpufreq_governor: performance


If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <yi1.lai@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202611240845.904e8444-lkp@xxxxxxxxx


Details are as below:
-------------------------------------------------------------------------------------------------->


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20261124/202611240845.904e8444-lkp@xxxxxxxxx

=========================================================================================
compiler/cpufreq_governor/kconfig/mode/nr_task/rootfs/tbox_group/test/testcase:
gcc-14/performance/x86_64-rhel-9.4/thread/100%/debian-13-x86_64-20250902.cgz/lkp-srf-2sp2/mmap1/will-it-scale

commit:
649dd02795 ("locking/osq: Make osq_link_next() use smp_store_release()")
72c440a4e2 ("locking/osq: Save the CPU number for 'prev', not the node address")

649dd027958996a1 72c440a4e225879063809c3d0bc
---------------- ---------------------------
%stddev %change %stddev
\ | \
87444 ± 2% -40.8% 51808 will-it-scale.192.threads
27.64 ± 2% +251.6% 97.18 will-it-scale.192.threads_idle
455.00 ± 2% -40.8% 269.33 will-it-scale.per_thread_ops
87444 ± 2% -40.8% 51808 will-it-scale.workload


Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.


--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki