From owner-p4-projects@FreeBSD.ORG Thu Feb 2 22:31:31 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 36DE116A423; Thu, 2 Feb 2006 22:31:31 +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 EC6FE16A420 for ; Thu, 2 Feb 2006 22:31:30 +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 9EF9A43D53 for ; Thu, 2 Feb 2006 22:31:30 +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 k12MVU7L025550 for ; Thu, 2 Feb 2006 22:31:30 GMT (envelope-from alc@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k12MVUXc025547 for perforce@freebsd.org; Thu, 2 Feb 2006 22:31:30 GMT (envelope-from alc@freebsd.org) Date: Thu, 2 Feb 2006 22:31:30 GMT Message-Id: <200602022231.k12MVUXc025547@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 90941 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: Thu, 02 Feb 2006 22:31:32 -0000 http://perforce.freebsd.org/chv.cgi?CH=90941 Change 90941 by alc@alc_home on 2006/02/02 22:30:48 Allow promotion of kmem_object pages. Affected files ... .. //depot/projects/superpages/src/sys/amd64/amd64/pmap.c#9 edit Differences ... ==== //depot/projects/superpages/src/sys/amd64/amd64/pmap.c#9 (text+ko) ==== @@ -2196,7 +2196,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) { DPRINTF(("%s: pmap %p va %lx XXX\n", __func__, pmap, va));