* Re: [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
@ 2025-04-02 16:19 Joel Fernandes
2025-04-02 19:17 ` Paul E. McKenney
0 siblings, 1 reply; 5+ messages in thread
From: Joel Fernandes @ 2025-04-02 16:19 UTC (permalink / raw)
To: Sebastian Andrzej Siewior
Cc: Paul E. McKenney, rcu, Joel Fernandes, linux-kernel, kernel-team,
rostedt
[-- Attachment #1: Type: text/plain, Size: 838 bytes --]
Hello,
On Wed, 2 Apr 2025 16:17:06 GMT, Sebastian Andrzej Siewior wrote:
> On 2025-03-31 14:03:06 [-0700], Paul E. McKenney wrote:
> > The torture.sh --do-rt command-line parameter is intended to mimic -rt
> > kernels. Now that CONFIG_PREEMPT_RT is 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=y to tolerate
> > testing of both, both will be enabled.
>
> Not sure what you point at here: You can build a PREEMPT_RT kernel 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
2025-04-02 16:19 [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT Joel Fernandes
@ 2025-04-02 19:17 ` Paul E. McKenney
2025-04-05 11:01 ` Joel Fernandes
0 siblings, 1 reply; 5+ messages in thread
From: Paul E. McKenney @ 2025-04-02 19:17 UTC (permalink / raw)
To: Joel Fernandes
Cc: Sebastian Andrzej Siewior, rcu, linux-kernel, kernel-team, rostedt
On Wed, Apr 02, 2025 at 12:19:13PM -0400, Joel Fernandes wrote:
> Hello,
>
> On Wed, 2 Apr 2025 16:17:06 GMT, Sebastian Andrzej Siewior wrote:
> > On 2025-03-31 14:03:06 [-0700], Paul E. McKenney wrote:
> > > The torture.sh --do-rt command-line parameter is intended to mimic -rt
> > > kernels. Now that CONFIG_PREEMPT_RT is 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=y to tolerate
> > > testing of both, both will be enabled.
> >
> > Not sure what you point at here: You can build a PREEMPT_RT kernel 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?
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
2025-04-02 19:17 ` Paul E. McKenney
@ 2025-04-05 11:01 ` Joel Fernandes
2025-04-05 17:10 ` Paul E. McKenney
0 siblings, 1 reply; 5+ messages in thread
From: Joel Fernandes @ 2025-04-05 11:01 UTC (permalink / raw)
To: paulmck
Cc: Sebastian Andrzej Siewior, rcu, linux-kernel, kernel-team, rostedt
On 4/2/2025 3:17 PM, Paul E. McKenney wrote:
> On Wed, Apr 02, 2025 at 12:19:13PM -0400, Joel Fernandes wrote:
>> Hello,
>>
>> On Wed, 2 Apr 2025 16:17:06 GMT, Sebastian Andrzej Siewior wrote:
>>> On 2025-03-31 14:03:06 [-0700], Paul E. McKenney wrote:
>>>> The torture.sh --do-rt command-line parameter is intended to mimic -rt
>>>> kernels. Now that CONFIG_PREEMPT_RT is 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=y to tolerate
>>>> testing of both, both will be enabled.
>>>
>>> Not sure what you point at here: You can build a PREEMPT_RT kernel 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?
>
> 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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
2025-04-05 11:01 ` Joel Fernandes
@ 2025-04-05 17:10 ` Paul E. McKenney
2025-04-05 17:56 ` Joel Fernandes
0 siblings, 1 reply; 5+ messages in thread
From: Paul E. McKenney @ 2025-04-05 17:10 UTC (permalink / raw)
To: Joel Fernandes
Cc: Sebastian Andrzej Siewior, rcu, linux-kernel, kernel-team, rostedt
On Sat, Apr 05, 2025 at 07:01:13AM -0400, Joel Fernandes wrote:
>
>
> On 4/2/2025 3:17 PM, Paul E. McKenney wrote:
> > On Wed, Apr 02, 2025 at 12:19:13PM -0400, Joel Fernandes wrote:
> >> Hello,
> >>
> >> On Wed, 2 Apr 2025 16:17:06 GMT, Sebastian Andrzej Siewior wrote:
> >>> On 2025-03-31 14:03:06 [-0700], Paul E. McKenney wrote:
> >>>> The torture.sh --do-rt command-line parameter is intended to mimic -rt
> >>>> kernels. Now that CONFIG_PREEMPT_RT is 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=y to tolerate
> >>>> testing of both, both will be enabled.
> >>>
> >>> Not sure what you point at here: You can build a PREEMPT_RT kernel 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?
> >
> > 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.
> 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.
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT
2025-04-05 17:10 ` Paul E. McKenney
@ 2025-04-05 17:56 ` Joel Fernandes
0 siblings, 0 replies; 5+ messages in thread
From: Joel Fernandes @ 2025-04-05 17:56 UTC (permalink / raw)
To: paulmck
Cc: Sebastian Andrzej Siewior, rcu, linux-kernel, kernel-team, rostedt
> On Apr 5, 2025, at 1:10 PM, Paul E. McKenney <paulmck@kernel.org> wrote:
>
> On Sat, Apr 05, 2025 at 07:01:13AM -0400, Joel Fernandes wrote:
>>
>>
>>> On 4/2/2025 3:17 PM, Paul E. McKenney wrote:
>>> On Wed, Apr 02, 2025 at 12:19:13PM -0400, Joel Fernandes wrote:
>>>> Hello,
>>>>
>>>> On Wed, 2 Apr 2025 16:17:06 GMT, Sebastian Andrzej Siewior wrote:
>>>>> On 2025-03-31 14:03:06 [-0700], Paul E. McKenney wrote:
>>>>>> The torture.sh --do-rt command-line parameter is intended to mimic -rt
>>>>>> kernels. Now that CONFIG_PREEMPT_RT is 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=y to tolerate
>>>>>> testing of both, both will be enabled.
>>>>>
>>>>> Not sure what you point at here: You can build a PREEMPT_RT kernel 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?
>>>
>>> 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.
>> 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.
>
>> 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
>
> Thanx, Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-04-05 17:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-02 16:19 [v2,04/12] rcutorture: Make torture.sh --do-rt use CONFIG_PREEMPT_RT Joel Fernandes
2025-04-02 19:17 ` Paul E. McKenney
2025-04-05 11:01 ` Joel Fernandes
2025-04-05 17:10 ` Paul E. McKenney
2025-04-05 17:56 ` Joel Fernandes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®