From: David M. <Dav...@st...> - 2001-08-14 14:39:27
|
On Aug 14, 3:26pm, dw...@in... wrote: > Subject: [linuxsh-dev] Small fix for PCI DMA code. > > If we really care about it being faster to flush the whole cache instead of > looping over a large virtual address range, then the arch-specific cache > code should make that call, depending on the size of the cache actually > present on the current CPU, etc. It doesn't belong in the generic > pci_alloc_consistent(), imo. > > OK? I agree. Calling flush_cache_all() was simply done for expediency, I just never had the time to do it properly. I think it should be faster doing it this way, as you don't need to flush the icache. Yet another thing gone from my TODO list! Cheers! -- Dave McKay Software Engineer STMicroelectronics Email: dav...@st... |