tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap nocache



On Thu, Apr 16, 2009 at 10:53:20PM +0200, Christoph Egger wrote:

> Attached x86_nocache.diff removes the TLB flush
> when mapping dma-safe memory.
> 
> Attached pmap_md.diff adds a PMAP_MD_MASK.
> For x86 PAT feature you need six MD PMAP types.
> 
> Comments?

Looks good to me, thanks for doing this - that bit of code has caused me
a lot of headaches recently.

IIRC bus_space does something similar but uses pmap_kenter_pa(). I think
it would be worthwhile adding a flags argument to handle it.


Home | Main Index | Thread Index | Old Index