[Prism54-devel] Prism54 kernel patches accepted

Jens Maurer Jens.Maurer at gmx.net
Fri Jun 18 20:49:10 UTC 2004



Margit Schubert-While wrote:
> - wmb() -> smp_wmb()

I'm not sure why you would want to change that in most
situations.

The wmb() that are in islpci_eth.c between updating the
fragment information and making the fragment available
for the device are required.

smp_smb() expands to a simple gcc-level memory barrier
("flush all registers to main memory").  It does not
deal with imposing ordering on writes for out-of-order
CPUs (IDT Winchip), and that is what we need for
our communication with the device here.

Jens Maurer



More information about the Prism54-devel mailing list