[PATCH v2] gianfar: Add I/O barriers when touching buffer descriptor ownership.

Scott Wood scottwood at freescale.com
Thu May 3 07:30:19 EST 2007


Kumar Gala wrote:
> Why doesn't marking the bdp pointer volatile resolve the issue in  
> gfar_clean_rx_ring() to ensure load ordering?

Because that only addresses compiler reordering (and does so in a rather 
clumsy way -- not all accesses need to be strongly ordered), not 
hardware reordering.

-Scott



More information about the Linuxppc-dev mailing list