Re: Missing cache flush.

David S. Miller (davem@redhat.com)
Mon, 4 Jun 2001 19:03:01 -0700 (PDT)


Jeff Garzik writes:
> David Woodhouse wrote:
> > I was pointed at Documentation/DMA-mapping.txt but that doesn't seem very
> > helpful - it's very PCI-specific, and a quick perusal of pci_dma_sync() on
> > i386 shows that it doesn't do what's required anyway.
>
> What should it do on i386? mb()?

The x86 doesn't have dumb caches, therefore it really doesn't need to
flush anything. Maybe a mb(), but that is it.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/