[Devel] Re: [PATCH 3/3] net - removing superfluous rcu_read_lock_held check

David Miller davem at davemloft.net
Mon Nov 1 13:33:28 PDT 2010


From: Jiri Olsa <jolsa at redhat.com>
Date: Mon,  1 Nov 2010 20:15:09 +0100

> the rcu_dereference_check is defined as
> 
> 	#define rcu_dereference_check(p, c) \
> 	   __rcu_dereference_check((p), rcu_read_lock_held() || (c), __rcu)
> 
> so the caller does not need to specify rcu_read_lock_held() condition.
>
> Signed-off-by: Jiri Olsa <jolsa at redhat.com>

Acked-by: David S. Miller <davem at davemloft.net>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list