]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'rcu/refscale' into next
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 28 Nov 2025 22:30:38 +0000 (23:30 +0100)
committerFrederic Weisbecker <frederic@kernel.org>
Fri, 28 Nov 2025 22:30:38 +0000 (23:30 +0100)
Add performance testing for common context synchronizations
(Preemption, IRQ, Softirq) and per-cpu increments. Those are
relevant comparisons against SRCU-fast read side APIs, especially
as they are planned to synchronize further tracing fast-path code.

1  2 
kernel/rcu/refscale.c

index 65c04dfdab22720d70d734633c558a6dfdf71a41,613b0e0d2130b72171ef8c459eddecce23db3eaf..07a313782dfd5bdbb8a49cf627f3840c9abbad99
@@@ -1207,10 -1472,12 +1516,13 @@@ ref_scale_init(void
        long i;
        int firsterr = 0;
        static const struct ref_scale_ops *scale_ops[] = {
 -              &rcu_ops, &srcu_ops, &srcu_fast_ops, RCU_TRACE_OPS RCU_TASKS_OPS
 +              &rcu_ops, &srcu_ops, &srcu_fast_ops, &srcu_fast_updown_ops,
 +              RCU_TRACE_OPS RCU_TASKS_OPS
-               &refcnt_ops, &rwlock_ops, &rwsem_ops, &lock_ops, &lock_irq_ops,
-               &acqrel_ops, &sched_clock_ops, &clock_ops, &jiffies_ops,
+               &refcnt_ops, &percpuinc_ops, &incpercpu_ops, &incpercpupreempt_ops,
+               &incpercpubh_ops, &incpercpuirqsave_ops,
+               &rwlock_ops, &rwsem_ops, &lock_ops, &lock_irq_ops, &acqrel_ops,
+               &sched_clock_ops, &clock_ops, &jiffies_ops,
+               &preempt_ops, &bh_ops, &irq_ops, &irqsave_ops,
                &typesafe_ref_ops, &typesafe_lock_ops, &typesafe_seqlock_ops,
        };