Thread (4 messages) 4 messages, 4 authors, 2006-03-24

RE: memory with __get_free_pages and disabling caching

From: Paul Mackerras <hidden>
Date: 2006-03-24 22:17:23

Kallol Biswas writes:
We have a little endian device on a PPC 440GX based system.
The descriptors need to be swapped. With E bit turned on we can save
swapping time.
Writing the descriptors with stwbrx should be just as fast as using
stw, and eliminates the need for a special mapping.

If you need it to be cache-inhibited, you should be using
dma_alloc_coherent() or pci_alloc_consistent().

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help