Re: [PATCH] ppc32/64: Map prefetchable PCI without guarded bit

From: Benjamin Herrenschmidt
Date: Fri Mar 25 2005 - 17:44:49 EST


On Thu, 2005-03-24 at 19:20 +0100, Segher Boessenkool wrote:
> > While experimenting with framebuffer access performances, we noticed a
> > very significant improvement in write access to it when not setting
> > the "guarded" bit on the MMU mappings. This bit basically says that
> > reads and writes won't have side effects (it allows speculation).
>
> Unless the data is already in cache.
>
> > It appears that it also disables write combining.
>
> When the page is also cache-inhibited, it indeed does.
>
>
> Btw, did you ever get to fix the problem with mapping the last page
> of physical address space via /dev/mem ?

I don't think so, but I'll have to double check.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/