[PATCH] pci_alloc_consistent in an interrupt context
Dan Malek
dan at embeddededge.com
Fri Jun 14 12:08:21 EST 2002
David Gibson wrote:
> ...... Likewise with __get_free_pages()
> which is what pci_alloc_consistent() uses on cache-coherent processors
> now.
....and my concern is you are replacing a call to __get_free_pages() with
a call to kmalloc(). Are you sure you want to be doing this? There may
be users of pci_alloc_consistent that assume page alignment which may not
happen when you call kmalloc().
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list