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: Miod Vallat (miodcvs.openbsd.org)
Date: Fri Apr 27 2007 - 13:14:13 CDT


CVSROOT: /cvs
Module name: src
Changes by: miodcvs.openbsd.org 2007/04/27 12:14:13

Modified files:
        sys/arch/mips64/include: pmap.h pte.h vmparam.h
        sys/arch/mips64/mips64: pmap.c

Log message:
More pmap changes from the potpourri pool:
- use wm_page pg_flags pmap-reserved flags to store attributes, instead of
defining a vm_page_md field.
- use atomic operations to touch the above mentioned flags.
- never create ptes with PG_RO and PG_M set (this was harmless anyway).
- in pmap_clear_modify(), do not flush cache if the page was mapped uncached.

Tested on r5k, rm5200, r10k and r12k.