Skip to content

CSD-lock diagnostics enhancements

Neeraj Upadhyay lkml rcu 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Rebase on v6.10
- Fix n_csd_lock_stuck atomic op in csd_lock_wait_toolong (Rik van Riel)
- Apply Rik van Riel's Reviewed-by.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3locking/csd_lock: Print large numbers as negativeskernel/smp.c+2 -20 replies
2/3locking/csd_lock: Provide an indication of ongoing CSD-lock stallinclude/linux/smp.h kernel/smp.c+22 -03 replies
3/3locking/csd-lock: Use backoff for repeated reports of same incidentkernel/smp.c+7 -31 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchRik van RielPaul E. McKenney
SeriesT-b
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] CSD-lock diagnostics enhancements

Hello!

This series adds following changes to the CSD-lock diagnostics (rebased on v6.10):

1. locking/csd_lock: Print large numbers as negatives.

2. locking/csd_lock: Provide an indication of ongoing CSD-lock stall.

3. locking/csd-lock: Use backoff for repeated reports of same
incident.

This is the second version of this patchset. Previous version can be found at [1]

Changes since v1:
- Rebase on v6.10
- Fix n_csd_lock_stuck atomic op in csd_lock_wait_toolong (Rik van Riel)
- Apply Rik van Riel's Reviewed-by.

Once reviewed/acked, current plan is to take this through RCU tree during v6.12 merge window, as RCU commit "7d2ba698ad85 rcu: Summarize RCU CPU stall warnings during CSD-lock stalls" [2] has dependency on these changes. If there are any concerns with taking these through RCU tree, please raise those concerns.

[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/neeraj.upadhyay/linux-rcu.git/commit/?h=rcustall.13.07.24a&id=7d2ba698ad85984656e9732d87b8e040a23baa55

Thanks
Neeraj

------------------------------------------------------------------------

 include/linux/smp.h |  6 ++++++
 kernel/smp.c        | 30 +++++++++++++++++++++++++-----
 2 files changed, 31 insertions(+), 5 deletions(-)