From owner-cvs-all@FreeBSD.ORG Tue Jun 8 00:29:53 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B9C916A4CE; Tue, 8 Jun 2004 00:29:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E65443D54; Tue, 8 Jun 2004 00:29:53 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i580TgSB073039; Tue, 8 Jun 2004 00:29:42 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i580Tg7Q073038; Tue, 8 Jun 2004 00:29:42 GMT (envelope-from peter) Message-Id: <200406080029.i580Tg7Q073038@repoman.freebsd.org> From: Peter Wemm Date: Tue, 8 Jun 2004 00:29:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 00:29:53 -0000 peter 2004-06-08 00:29:42 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h Log: Mask pte's with PG_FRAME before passing it to PHYS_TO_VM_PAGE().. PG_NX lives in the top 12 'available' bits. atop() in the PHYS_TO_VM_PAGE() macro only masks off the lower bits (by accident) and the upper bits in the 64 bit ptes turn into "interesting" index values. Revision Changes Path 1.464 +16 -16 src/sys/amd64/amd64/pmap.c 1.116 +1 -1 src/sys/amd64/include/pmap.h