From owner-cvs-src-old@FreeBSD.ORG Fri Oct 15 17:57:12 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89D4C1065679 for ; Fri, 15 Oct 2010 17:57:12 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 60AE48FC21 for ; Fri, 15 Oct 2010 17:57:12 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9FHvCbK097028 for ; Fri, 15 Oct 2010 17:57:12 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9FHvC3q097027 for cvs-src-old@freebsd.org; Fri, 15 Oct 2010 17:57:12 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201010151757.o9FHvC3q097027@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Fri, 15 Oct 2010 17:56:51 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h src/sys/i386/i386 pmap.c src/sys/i386/include pmap.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 17:57:12 -0000 kib 2010-10-15 17:56:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/amd64/amd64 pmap.c sys/amd64/include pmap.h sys/i386/i386 pmap.c sys/i386/include pmap.h Log: SVN rev 213901 on 2010-10-15 17:56:51Z by kib MFC r209862: For both i386 and amd64 pmap, - change the type of pm_active to cpumask_t, which it is; - in pmap_remove_pages(), compare with PCPU(curpmap), instead of dereferencing the long chain of pointers [1]. For amd64 pmap, remove the unneeded checks for validity of curpmap in pmap_activate(), since curpmap should be always valid after r209789. Revision Changes Path 1.667.2.15 +1 -3 src/sys/amd64/amd64/pmap.c 1.152.2.2 +1 -1 src/sys/amd64/include/pmap.h 1.645.2.17 +1 -1 src/sys/i386/i386/pmap.c 1.140.2.4 +1 -1 src/sys/i386/include/pmap.h