Re: [PATCH] NETLABEL: Fix an RCU warning

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Moore
Date: Thursday, March 25, 2010 - 7:10 am

On Thursday 25 March 2010 09:32:20 am Eric Dumazet wrote:

The rcu_dereference call, and the outdated comments for that matter, are 
likely artifacts from an early patch.  When the code was originally being 
developed I had assumed that you _always_ needed to hold the RCU read lock 
when doing RCU operations, regardless of if you were already holding the 
associated spinlock.  Thankfully, Paul McKenney was able to review the code 
and helped me to understand RCU a bit better, unfortunately, it looks like I 
still missed a few spots :/

Give me a day or two to go through the comments again and do some sanity 
checks and I'll send out a patch.  However, if you've already got something 
that is tested and ready to go don't let me stand in your way.

-- 
paul moore
linux @ hp
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] NETLABEL: Fix an RCU warning, David Howells, (Thu Mar 25, 4:06 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Eric Dumazet, (Thu Mar 25, 4:28 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, David Howells, (Thu Mar 25, 4:37 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Eric Dumazet, (Thu Mar 25, 6:32 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Paul Moore, (Thu Mar 25, 7:10 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Paul E. McKenney, (Mon Mar 29, 8:24 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Paul Moore, (Mon Mar 29, 8:30 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Paul E. McKenney, (Mon Mar 29, 8:58 am)
Re: [PATCH] NETLABEL: Fix an RCU warning, Paul Moore, (Mon Mar 29, 1:05 pm)
Re: [PATCH] NETLABEL: Fix an RCU warning, Eric Dumazet, (Mon Mar 29, 1:19 pm)