Ian Romanick wrote: > I would recommend an audit then a copy, with the DMA buffer being setup as > non-cached, write combining memory (like AGP mapped memory). The reason > being that you don't want to pollute the cache with blocks that are > essentially write-once. >
This is dangerous - on SMP (or preemtible UP), the buffer could be modified after the audit sweep, but before the copy! You can only trust the audit if it is performed on user-unwriteable memory (ie, after or during a copy). -Eric ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
