Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <ak@...>
Cc: <dipankar@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-arch@...>
Date: Saturday, January 12, 2008 - 1:51 pm

On Sat, Jan 12, 2008 at 03:37:59AM +0100, Andi Kleen wrote:

There has to be at least 1 synchronize_rcu() or equivalent in the 
unregister_netdev() path.  I suspect the easiest way to fix it might be to 
use call_rcu() to actually free the network device, as anything else will 
limit performance of single threaded teardown (ie, when an l2tp daemon 
gets terminated via kill -9).  This means an API change that exposes 
rcu for unregister_netdev().

		-ben
-- 
"Time is of no importance, Mr. President, only life is important."
Don't Email: <zyntrop@kvack.org>.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC] synchronize_rcu(): high latency on idle system, Benjamin LaHaise, (Fri Jan 11, 9:26 pm)
Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system, Paul E. McKenney, (Sat Jan 12, 12:55 pm)
Re: [PATCH/RFC] synchronize_rcu(): high latency on idle system, Benjamin LaHaise, (Sat Jan 12, 1:51 pm)