OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Owain Ainsworth (ogacvs.openbsd.org)
Date: Tue Apr 20 2010 - 14:22:06 CDT


CVSROOT: /cvs
Module name: src
Changes by: ogacvs.openbsd.org 2010/04/20 13:22:06

Modified files:
        sys/arch/amd64/include: pte.h
        sys/arch/i386/include: pte.h

Log message:
Instead of using PWT|PCD for uncached (which is wrong on old cpus and
HARD uncached on anything since the P3), use just PCD which is UC-
(uncached but mtrrs can override it to write combining).

Now kernel mappings of WC-mtrred memory actually get write combining
memory.

the speed up is very very nice.

ok kettenis, deraadt, beck (who likes his scrollbars non-wibbly)