Skip to contentSkip to conversation

Quick review of RCU-related patches in v5.10.8-rt23

DISCUSSION Paul E. McKenney 1 participant 2 messages Jan 28, 2021 – Jan 29, 2021 1 message not in the archive RCU

lore
Share & tools
lore

Paul E. McKenney

author maintainer Acked-by
#0 lore raw

Hello, Sebastian,

Just doing my periodic (but decidedly non-real-time) scan of RCU-related patches in -rt, in this case v5.10.8-rt23:

db93e2f1b4b0 ("rcu: Prevent false positive softirq warning on RT")
Looks ready for mainline, given CONFIG_PREEMPT_RT.
f3541b467fbb ("sched: Do not account rcu_preempt_depth on RT in might_sleep()")
If the scheduler maintainers are OK with their part of this patch, looks good to me, given CONFIG_PREEMPT_RT. Feel free to add:

d8c5a7d75e08 ("rcutorture: Avoid problematic critical section nesting on RT")
This one I need to understand better. I do like the use of local variables to make the "if" conditions less unruly.

The rest are in -rcu already:

a163ef8687a1 ("rcu: make RCU_BOOST default on RT")
Commit 2341bc4a0311 in -rcu. In yesterday's pull request.
5ffd75a96828 ("rcu: Use rcuc threads on PREEMPT_RT as we did")
Commit 8b9a0ecc7ef5 in -rcu. In yesterday's pull request.
e0b671bca2e7 ("rcu: enable rcu_normal_after_boot by default for RT")
Commit 36221e109eb2 in -rcu. In yesterday's pull request.
e27ef68731a1 ("rcu: Don't invoke try_invoke_on_locked_down_task() with irqs disabled")
This one is in v5.10 mainline.

Any reason I shouldn't pull in db93e2f1b4b0 ("rcu: Prevent false positive softirq warning on RT") for v5.13?

Thanx, Paul

A message that is not in the archive (sent off-list or not yet received): [email protected]

author maintainer
#2 lore raw
Quoted 20 lines · Sebastian Andrzej Siewior
Quoted 1 line · Paul E. McKenney

Hello, Sebastian,

Hi Paul,

Quoted 7 lines

Just doing my periodic (but decidedly non-real-time) scan of RCU-related patches in -rt, in this case v5.10.8-rt23:

f3541b467fbb ("sched: Do not account rcu_preempt_depth on RT in might_sleep()")
If the scheduler maintainers are OK with their part of this patch, looks good to me, given CONFIG_PREEMPT_RT. Feel free to add:

Thank. I think we should pump it together with the rt-mutex part. But I add a note.

Quoted 3 lines

d8c5a7d75e08 ("rcutorture: Avoid problematic critical section nesting on RT")
This one I need to understand better. I do like the use of local variables to make the "if" conditions less unruly.

Quoted 5 lines

This originated in
https://lkml.kernel.org/r/[email protected]

I planned to post it upstream last cycle but it appears that it broke apart and I did not yet look how to fix it.

I do recall the discussion, I just need to get up to speed on the details. ;-)

Quoted 11 lines
Quoted 10 lines

The rest are in -rcu already:

a163ef8687a1 ("rcu: make RCU_BOOST default on RT")
Commit 2341bc4a0311 in -rcu. In yesterday's pull request.
5ffd75a96828 ("rcu: Use rcuc threads on PREEMPT_RT as we did")
Commit 8b9a0ecc7ef5 in -rcu. In yesterday's pull request.
e0b671bca2e7 ("rcu: enable rcu_normal_after_boot by default for RT")
Commit 36221e109eb2 in -rcu. In yesterday's pull request.
e27ef68731a1 ("rcu: Don't invoke try_invoke_on_locked_down_task() with irqs disabled")
This one is in v5.10 mainline.

Quoted 7 lines

\o/

Quoted 2 lines

Any reason I shouldn't pull in db93e2f1b4b0 ("rcu: Prevent false positive softirq warning on RT") for v5.13?

tglx has a version of that with your Reviewed-by tag on it in this softirq tree waiting. So I guess just sit it out ;)

Works for me!

Thanx, Paul

Quoted 4 lines

Thank you for looking Paul.

Quoted 1 line

Thanx, Paul

Sebastian