Re: call_rcu from trace_preempt

From: Steven Rostedt
Date: Tue Jun 16 2015 - 11:43:57 EST


On Tue, 16 Jun 2015 07:16:26 -0700
"Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx> wrote:

> > Just for the record: Using a thread for freeing the memory is curing the
> > problem without the need to modify rcu_is_watching.
>
> I must confess to liking this approach better than guaranteeing full-up
> reentrancy in call_rcu() and kfree_rcu(). ;-)
>

Then reentrancy must be really bad if you prefer a spinning thread that
polls constantly just to free an item ;-)

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/