Re: [PATCH tip/core/rcu 8/9] idr: apply lockdep-based diagnosticsto rcu_dereference() uses

From: Josh Triplett
Date: Mon Jan 18 2010 - 18:36:18 EST


On Thu, Jan 14, 2010 at 05:02:45PM -0800, Paul E. McKenney wrote:
> From: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
>
> Because idr can be used with any of a number of locks or with any
> flavor of RCU, just disable the lockdep-based diagnostics. If idr
> needs diagnostics, the check expression will need to be passed into
> the relevant idr primitives as an additional argument.
>
> Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>

The subject line of this patch seems wrong. Like the preceding patches
for radix tree and list operations, this *disables* the checking by
using _raw.

- Josh Triplett
--
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/