* Ingo Molnar <mingo@xxxxxxx> wrote:
* Ingo Molnar <mingo@xxxxxxx> wrote:
hm, another thing: i think call_rcu() needs to take the read-lock.
Right now it assumes that it has the data structure private, but
that's only statistically true on PREEMPT_RT: another CPU may have
this CPU's RCU control structure in use. So IRQs-off (or preempt-off)
is not a guarantee to have the data structure, the read lock has to be
taken.
i've reworked the code to use the read-lock to access the per-CPU data
RCU structures, and it boots with 2 CPUs and PREEMPT_RT now. The
-40-05 patch can be downloaded from the usual place:
bah, it's leaking dentries at a massive scale. I'm giving up on this
variant for the time being and have gone towards a much simpler variant,
implemented in the -40-07 patch at:
http://redhat.com/~mingo/realtime-preempt/