From owner-cvs-all@FreeBSD.ORG Sun Oct 12 20:28:33 2003 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 165DC16A4F3; Sun, 12 Oct 2003 20:28:33 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 609D743FA3; Sun, 12 Oct 2003 20:28:32 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9D3SWXJ084975; Sun, 12 Oct 2003 20:28:32 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9D3SWSo084974; Sun, 12 Oct 2003 20:28:32 -0700 (PDT) (envelope-from alc) Message-Id: <200310130328.h9D3SWSo084974@repoman.freebsd.org> From: Alan Cox Date: Sun, 12 Oct 2003 20:28:32 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 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: Mon, 13 Oct 2003 03:28:33 -0000 alc 2003/10/12 20:28:32 PDT FreeBSD src repository Modified files: sys/i386/i386 pmap.c Log: - Modify pmap_is_current() to return FALSE when a pmap's page table is in use because a kernel thread is borrowing it. The borrowed page table can change spontaneously, making any dependence on its continued use subject to a race condition. - _pmap_unwire_pte_hold() cannot use pmap_is_current(): If a change is made to a page table page mapping for a borrowed page table, the TLB must be updated. In collaboration with: tegge Revision Changes Path 1.447 +12 -4 src/sys/i386/i386/pmap.c