From owner-p4-projects@FreeBSD.ORG Sat Feb 4 19:21:57 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id A184616A420; Sat, 4 Feb 2006 19:21:56 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5447D16A420 for ; Sat, 4 Feb 2006 19:21:56 +0000 (GMT) (envelope-from alc@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 172CD43D46 for ; Sat, 4 Feb 2006 19:21:56 +0000 (GMT) (envelope-from alc@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k14JLt0B040582 for ; Sat, 4 Feb 2006 19:21:55 GMT (envelope-from alc@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k14JLtmG040579 for perforce@freebsd.org; Sat, 4 Feb 2006 19:21:55 GMT (envelope-from alc@freebsd.org) Date: Sat, 4 Feb 2006 19:21:55 GMT Message-Id: <200602041921.k14JLtmG040579@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to alc@freebsd.org using -f From: Alan Cox To: Perforce Change Reviews Cc: Subject: PERFORCE change 91096 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 19:21:57 -0000 http://perforce.freebsd.org/chv.cgi?CH=91096 Change 91096 by alc@alc_home on 2006/02/04 19:21:22 Enable promotion of superpages within the kmem object. Affected files ... .. //depot/projects/superpages/src/sys/i386/i386/pmap.c#6 edit Differences ... ==== //depot/projects/superpages/src/sys/i386/i386/pmap.c#6 (text+ko) ==== @@ -2198,7 +2198,7 @@ * be superpage aligned */ if (((mpte != NULL && mpte->wire_count == NPTEPG) || - m->object == kernel_object || (m->object == kmem_object && FALSE)) && + m->object == kernel_object || m->object == kmem_object) && m->reserv != NULL && m->reserv->refcnt == NBPDR / PAGE_SIZE) { #ifdef INVARIANTS