From owner-cvs-src-old@FreeBSD.ORG Thu Sep 3 13:55:50 2009 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 55113106566B for ; Thu, 3 Sep 2009 13:55:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 433B18FC27 for ; Thu, 3 Sep 2009 13:55:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n83DtoN9075899 for ; Thu, 3 Sep 2009 13:55:50 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n83Dtoi7075898 for cvs-src-old@freebsd.org; Thu, 3 Sep 2009 13:55:50 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200909031355.n83Dtoi7075898@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 3 Sep 2009 13:54:58 +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/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: Thu, 03 Sep 2009 13:55:50 -0000 jhb 2009-09-03 13:54:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c sys/i386/include pmap.h Log: SVN rev 196780 on 2009-09-03 13:54:58Z by jhb MFC 196705 and 196707: - Improve pmap_change_attr() on i386 so that it is able to demote a large (2/4MB) page into 4KB pages as needed. This should be fairly rare in practice. - Simplify pmap_change_attr() a bit: - Always calculate the cache bits instead of doing it on-demand. - Always set changed to TRUE rather than only doing it if it is false. Approved by: re (kib) Revision Changes Path 1.667.2.4 +5 -17 src/sys/amd64/amd64/pmap.c 1.645.2.3 +170 -54 src/sys/i386/i386/pmap.c 1.140.2.2 +4 -0 src/sys/i386/include/pmap.h