[PATCH] pci_alloc_consistent in an interrupt context

Eugene Surovegin ebs at innocent.com
Fri Jun 14 11:25:11 EST 2002


At 05:24 PM 6/13/2002, David Gibson wrote:
>That's right.  But I think the patch below is a better fix for the
>problem.  It makes consistent_alloc()/consistent_free() just do the
>right thing for both cache coherent and cache non-coherent processors,
>so we can get rid of the ifdef in pci_alloc_consistent() and
>pci_free_consistent().

So, kmalloc will allocate non-cacheable memory?

I seriously doubt it (actually I've just tested it:).

Eugene.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list