rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
Joel Fernandes
maintainerHello,
Quoted 5 lines · Sebastian Andrzej Siewior
Quoted 4 lines · Paul E. McKenney
The
torture.sh--do-rt command-line parameter is intended to mimic -rt kernels. Now thatCONFIG_PREEMPT_RTis upstream, this commit makes this mimicking more precise.
Quoted 7 lines
Quoted 4 lines
Note that testing of RCU priority boosting is disabled in favor of forward-progress testing of RCU callbacks. If it turns out to be possible to make kernels built with
CONFIG_PREEMPT_RT=yto tolerate testing of both, both will be enabled.Not sure what you point at here: You can build a
PREEMPT_RTkernel and RCU boosting is enabled by default. You could disable it if needed.
Yeah, RCU_BOOST has default y if PREEMPT_RT.
Paul, should we be disabling it in the --do-rt script?
thanks,
- Joel
Paul E. McKenney
maintainerQuoted 13 lines · Joel Fernandes
Hello,
Quoted 10 lines · Sebastian Andrzej Siewior
Quoted 8 lines · Paul E. McKenney
The
torture.sh--do-rt command-line parameter is intended to mimic -rt kernels. Now thatCONFIG_PREEMPT_RTis upstream, this commit makes this mimicking more precise.Note that testing of RCU priority boosting is disabled in favor of forward-progress testing of RCU callbacks. If it turns out to be possible to make kernels built with
CONFIG_PREEMPT_RT=yto tolerate testing of both, both will be enabled.
Quoted 6 lines
Quoted 2 lines
Not sure what you point at here: You can build a
PREEMPT_RTkernel and RCU boosting is enabled by default. You could disable it if needed.Yeah,
RCU_BOOSThas default y ifPREEMPT_RT.Paul, should we be disabling it in the --do-rt script?
You should have a "rcutorture.test_boost=0" from f2ac55968df2 ("rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT").
Plus I just now made additional adjustments based on Sebastian Siewior's feedback. He is likely to have additional feedback, so this is currently a "squash!" commit in my tree.
Thanx, Paul
Joel Fernandes
maintainerQuoted 19 lines · Paul E. McKenney
Quoted 18 lines · Joel Fernandes
Hello,
Quoted 5 lines · Sebastian Andrzej Siewior
Quoted 4 lines · Paul E. McKenney
The
torture.sh--do-rt command-line parameter is intended to mimic -rt kernels. Now thatCONFIG_PREEMPT_RTis upstream, this commit makes this mimicking more precise.Quoted 7 lines
Quoted 4 lines
Note that testing of RCU priority boosting is disabled in favor of forward-progress testing of RCU callbacks. If it turns out to be possible to make kernels built with
CONFIG_PREEMPT_RT=yto tolerate testing of both, both will be enabled.Not sure what you point at here: You can build a
PREEMPT_RTkernel and RCU boosting is enabled by default. You could disable it if needed.Yeah,
RCU_BOOSThas default y ifPREEMPT_RT.
Quoted 8 lines
Quoted 1 line
Paul, should we be disabling it in the --do-rt script?
You should have a "rcutorture.test_boost=0" from
f2ac55968df2("rcutorture: Maketorture.sh--do-rt useCONFIG_PREEMPT_RT").Plus I just now made additional adjustments based on Sebastian Siewior's feedback. He is likely to have additional feedback, so this is currently a "squash!" commit in my tree.
Ok, thanks. If you could repost whenever it is ready to the list, I'll pull it.
Also I'm guessing that checkpatch one does not need any changes, but we've to add a reminder to revert it in the future.
thanks,
- Joel
Paul E. McKenney
maintainerQuoted 24 lines · Joel Fernandes
Quoted 21 lines · Paul E. McKenney
Quoted 19 lines · Joel Fernandes
Hello,
Quoted 5 lines · Sebastian Andrzej Siewior
Quoted 4 lines · Paul E. McKenney
The
torture.sh--do-rt command-line parameter is intended to mimic -rt kernels. Now thatCONFIG_PREEMPT_RTis upstream, this commit makes this mimicking more precise.Quoted 7 lines
Quoted 4 lines
Note that testing of RCU priority boosting is disabled in favor of forward-progress testing of RCU callbacks. If it turns out to be possible to make kernels built with
CONFIG_PREEMPT_RT=yto tolerate testing of both, both will be enabled.Not sure what you point at here: You can build a
PREEMPT_RTkernel and RCU boosting is enabled by default. You could disable it if needed.Yeah,
RCU_BOOSThas default y ifPREEMPT_RT.Paul, should we be disabling it in the --do-rt script?
Quoted 7 lines
Quoted 6 lines
You should have a "rcutorture.test_boost=0" from
f2ac55968df2("rcutorture: Maketorture.sh--do-rt useCONFIG_PREEMPT_RT").Plus I just now made additional adjustments based on Sebastian Siewior's feedback. He is likely to have additional feedback, so this is currently a "squash!" commit in my tree.
Ok, thanks. If you could repost whenever it is ready to the list, I'll pull it.
If there are no complaints by Monday, Pacific Time, I will resend it.
Quoted 2 lines
Also I'm guessing that checkpatch one does not need any changes, but we've to add a reminder to revert it in the future.
I have added a reminder in my usual todo.txt file. I have no objection to it being added to a more visible location. On possible place would be the RCU Design Documents gdoc, but I will let you guys choose.
Thanx, Paul
Joel Fernandes
maintainerQuoted 37 lines · Paul E. McKenney
Quoted 24 lines · Joel Fernandes
Quoted 24 lines · Paul E. McKenney
Quoted 19 lines · Joel Fernandes
Hello,
Quoted 5 lines · Sebastian Andrzej Siewior
Quoted 4 lines · Paul E. McKenney
The
torture.sh--do-rt command-line parameter is intended to mimic -rt kernels. Now thatCONFIG_PREEMPT_RTis upstream, this commit makes this mimicking more precise.Quoted 7 lines
Quoted 4 lines
Note that testing of RCU priority boosting is disabled in favor of forward-progress testing of RCU callbacks. If it turns out to be possible to make kernels built with
CONFIG_PREEMPT_RT=yto tolerate testing of both, both will be enabled.Not sure what you point at here: You can build a
PREEMPT_RTkernel and RCU boosting is enabled by default. You could disable it if needed.Yeah,
RCU_BOOSThas default y ifPREEMPT_RT.Paul, should we be disabling it in the --do-rt script?
Quoted 7 lines
Quoted 6 lines
You should have a "rcutorture.test_boost=0" from
f2ac55968df2("rcutorture: Maketorture.sh--do-rt useCONFIG_PREEMPT_RT").Plus I just now made additional adjustments based on Sebastian Siewior's feedback. He is likely to have additional feedback, so this is currently a "squash!" commit in my tree.
Ok, thanks. If you could repost whenever it is ready to the list, I'll pull it.
Quoted 8 lines
If there are no complaints by Monday, Pacific Time, I will resend it.
Quoted 2 lines
Also I'm guessing that checkpatch one does not need any changes, but we've to add a reminder to revert it in the future.
I have added a reminder in my usual todo.txt file. I have no objection to it being added to a more visible location. On possible place would be the RCU Design Documents gdoc, but I will let you guys choose.
Makes sense, I think we should add this and other todo items somewhere - the location you suggest sounds reasonable to me, I've noted it. I am also wondering Boqun - are you working on that PR handbook doc patch? If so, please send for review and inclusion in 6.16 :)
Thanks,
- Joel
Quoted 2 lines
Thanx, Paul