2017-11-20 20:58:51

by Luc Van Oostenryck

[permalink] [raw]
Subject: Re: [PATCH] fs: Safe rcu access to hlist.

On Mon, Nov 20, 2017 at 12:42:53PM -0800, Matthew Wilcox wrote:
>
> I disagree. The notion of whether a pointer is protected by RCU or not
> is definitely not transient.

Sure. But what about the memory it points to?
It's just 'normal' kernel memory, there is nowhere
something like some 'RCU memory', right?

And the memory accessed through a __rcu annotated
pointer can be legally be accessed with normal
memory operation, because it's only the pointer that
is concerned by the annotation?

-- Luc

From 1584619204284267378@xxx Mon Nov 20 20:43:56 +0000 2017
X-GM-THRID: 1584526039726552067
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread