Re: maybe dumb question about RCU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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?

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux