lkml.org 
[lkml]   [2015]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-v2 0/4] target: Eliminate se_port + t10_alua_tg_pt_gp_member
On 05/26/15 08:57, Nicholas A. Bellinger wrote:
> - Add various rcu_dereference and lockless_dereference RCU notation

Hello Nic,

Feedback from an RCU expert (which I'm not) would be appreciated here.
But my understanding is that lockless_dereference(p) should be used for
a pointer p that has *not* been annotated as an RCU pointer. I think in
the for-next branch of the target repository that this macro is used to
access RCU-annotated pointers. Is that why sparse complains about how
lockless_dereference() is used in the target tree ?

Bart.



\
 
 \ /
  Last update: 2015-05-26 17:41    [W:0.090 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site