maybe dumb question about RCU

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Apr 9 20:21:16 EDT 2015


>
> 256         If you are going to be fetching multiple fields from the
> 257         RCU-protected structure, using the local variable is of
> 258         course preferred.  Repeated rcu_dereference() calls look
> 259         ugly and incur unnecessary overhead on Alpha CPUs.
>
> "look ugly and incur unnecessary overhead on Alpha CPUs" is a long way from "can return different pointer values", which is what it should say.

I agree, that statement is not only misleading, but incorrect too.
Maybe we can delete it and update it with a "Note:" about your
findings? How about sending a doc patch for it?



More information about the Kernelnewbies mailing list