Re: [patch 0/4] DEBUG_RCU_HEAD: Debug and fix racy call_rcu() users
From: Paul E. McKenney
Date: Wed Oct 07 2009 - 00:22:15 EST
On Tue, Oct 06, 2009 at 10:37:28AM -0400, Mathieu Desnoyers wrote:
> Here is a patchset, done on 2.6.30.9, which permits to detect and fix racy
> call_rcu() users.
>
> Fix for vunmap, which happens to be one of them, is included.
>
> Note that some false-positives might come up when call_rcu() is called on
> uninitialized struct rcu_head. The solution is, surprisingly enough, to
> initialize them.
Very cool, Mathieu!!!
I do like adding the debug-only field to struct rcu_head. Lots of
additional places need initialization, or am I missing a trick here?
Thanx, Paul
--
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/