lkml.org 
[lkml]   [2015]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: call_rcu from trace_preempt
On Tue, 16 Jun 2015 07:16:26 -0700
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> 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


\
 
 \ /
  Last update: 2015-06-16 18:01    [W:0.085 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site