Re: [RFC PATCH RT 4/4] rcutorture: Avoid problematic critical section nesting

From: Steven Rostedt
Date: Wed Jun 26 2019 - 11:08:52 EST

On Fri, 21 Jun 2019 16:59:55 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxx> wrote:

> I have no objection to the outlawing of a number of these sequences in
> mainline, but am rather pointing out that until they really are outlawed
> and eliminated, rcutorture must continue to test them in mainline.
> Of course, an rcutorture running in -rt should avoid testing things that
> break -rt, including these sequences.

We should update lockdep to complain about these sequences. That would
"outlaw" them in mainline. That is, after we clean up all the current
sequences in the code. And we also need to get Linus's approval of this
as I believe he was against enforcing this in the past.

-- Steve