Re: [PATCH v2] CAPI: Silence lockdep warning onget_capi_appl_by_nr usage

From: David Miller
Date: Thu Oct 21 2010 - 07:29:42 EST


From: Jan Kiszka <jan.kiszka@xxxxxx>
Date: Sun, 17 Oct 2010 17:18:15 +0200

> As long as we hold capi_controller_lock, we can safely access
> capi_applications without RCU protection as no one can modify the
> application list underneath us. Introduce an RCU-free
> __get_capi_appl_by_nr for this purpose. This silences lockdep warnings
> on suspicious rcu_dereference usage.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxx>

Applied.
--
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/