[illumos-Developer] Webrev #534: DMA KVA cache attributes incorrect

Dan McDonald danmcd at nexenta.com
Tue May 10 08:31:14 PDT 2011


On Tue, May 10, 2011 at 08:29:10AM -0700, Garrett D'Amore wrote:
> Sadly, on SPARC it isn't right.  On SPARC platforms it is impossible to
> allocate uncached memory, because the SPARC platform guarantees cache
> consistency.
> 
> I *think* this will be harmless because the flags don't appear to be
> used on SPARC, although I'm not terribly happy about that.  So I'd at a
> minimum add a comment above indicating that the flags are not used on
> SPARC.

Can/should you #ifndef SPARC the changes, then?

Dan



More information about the Developer mailing list