From owner-cvs-all@FreeBSD.ORG Sun Aug 15 20:54:25 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 9C8D316A4CE; Sun, 15 Aug 2004 20:54:25 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D02243D41; Sun, 15 Aug 2004 20:54:25 +0000 (GMT) (envelope-from alc@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 i7FKsPX7012238; Sun, 15 Aug 2004 20:54:25 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7FKsP3O012237; Sun, 15 Aug 2004 20:54:25 GMT (envelope-from alc) Message-Id: <200408152054.i7FKsP3O012237@repoman.freebsd.org> From: Alan Cox Date: Sun, 15 Aug 2004 20:54:25 +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/alpha/alpha pmap.c 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: Sun, 15 Aug 2004 20:54:25 -0000 alc 2004-08-15 20:54:25 UTC FreeBSD src repository Modified files: sys/alpha/alpha pmap.c Log: - Make pmap_emulate_reference() MP and preemption safe. Previously, it contained "sanity" checks that could be violated if another CPU modified the pmap between the emulation trap and locking the pmap in pmap_emulate_reference(). As a result, the pte could be inconsistent with the access that caused the emulation trap. In such cases, pmap_emulate_reference() now flushes the current CPU's TLB entry and returns. - Make pmap_changebit() an inline function, reducing object code size. Revision Changes Path 1.166 +20 -30 src/sys/alpha/alpha/pmap.c