[U-Boot] [PATCH] arm: Kirkwood: Add memory barriers to kwgbe_send/recv

Scott Wood scottwood at freescale.com
Wed Jul 1 19:14:19 CEST 2009


Stefan Roese wrote:
> I know that we advertised the usage of the io accessor functions for quite 
> some time now. But I'm not so sure here anymore. One disadvantage of this 
> usage could be speed penalty by the usage of too many unnecessary barriers 
> (included via the accessor functions on some platforms). 

Hot paths (or tiny bootstraps) can be optimized if needed, but why 
invite screwups for the majority of code?

-Scott


More information about the U-Boot mailing list