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

From: Segher Boessenkool
Date: Thu Mar 24 2005 - 13:25:15 EST


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 ?


Segher

-
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/