[PATCH net-next v3 2/2] net: Adding support for Cavium ThunderX network controller

David Miller davem at davemloft.net
Mon May 18 16:52:30 PDT 2015


From: David Daney <ddaney at caviumnetworks.com>
Date: Mon, 18 May 2015 14:52:30 -0700

> As I see it there are two options:
> 
> 1) Keep the writeq_relaxed()/readq_relaxed(), but add a comment about
> why they are safe.
> 
> 2) Change the patch so that we are using writeq()/readq() and suffer a
> decrease in performance.

I want a detailed comment added, so #1 would be my choice.

There are more than one set of register accessors, so make sure you
annotate them all.

Thanks.




More information about the linux-arm-kernel mailing list