On Tue, Mar 09, 2004 at 11:23:45AM +0100, Jaroslav Kysela wrote: > Ok, I though that vma->vm_page_prot fix is sufficient for this purpose but > appearently not.
Unfortunately not - as the code currently stands, not only are userspace mappings cached, but also kernel mappings of the same pages. Unfortunately changing userspace mappings to be uncached only solves half the problem. We also need to solve the kernel space problem as well. However, this needs to be done in an architecture specific way, which in turn means sorting out something which architecture people are happy with. Then there's the issue about the abuse of virt_to_page() taking a mapped virtual address (ie from pci_alloc_consistent or dma_alloc_coherent) rather than a direct-mapped virtual address (alloc_pages / kmalloc). -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel