Re: [PATCH v2 2/2] kernel/rcu/tree_stall: add /sys/kernel/rcu_stall_count
From: Andrew Morton
Date: Tue Jun 03 2025 - 20:16:36 EST
On Tue, 3 Jun 2025 22:09:30 +0530 Sourabh Jain <sourabhjain@xxxxxxxxxxxxx> wrote:
> Hello Andrew,
>
> > +#endif
> > +
> > rcu_stall_notifier_call_chain(RCU_STALL_NOTIFY_NORM, (void *)j - gps);
> > if (READ_ONCE(csd_lock_suppress_rcu_stall) && csd_lock_is_stuck()) {
> > pr_err("INFO: %s detected stall, but suppressed full report due to a stuck CSD-lock.\n", rcu_state.name);
>
> It seems like this patch was not applied properly to the upstream tree.
>
> Out of the three hunks in this patch, only the first one is applied; the
> second
> and third hunks are missing.
>
> commit 2536c5c7d6ae5e1d844aa21f28b326b5e7f815ef
> Author: Max Kellermann <max.kellermann@xxxxxxxxx>
> Date: Sun May 4 20:08:31 2025 +0200
>
> kernel/rcu/tree_stall: add /sys/kernel/rcu_stall_count
>
> Expose a simple counter to userspace for monitoring tools.
OK. iirc there was quite a lot of churn and conflicts here :)
Please send a fixup against latest -linus?