From owner-p4-projects@FreeBSD.ORG Sun Feb 5 21:40:37 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 2789016A423; Sun, 5 Feb 2006 21:40:37 +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 0191716A420 for ; Sun, 5 Feb 2006 21:40:37 +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 C3E2143D46 for ; Sun, 5 Feb 2006 21:40:36 +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 k15LeaGd077165 for ; Sun, 5 Feb 2006 21:40:36 GMT (envelope-from alc@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k15LeaVJ077162 for perforce@freebsd.org; Sun, 5 Feb 2006 21:40:36 GMT (envelope-from alc@freebsd.org) Date: Sun, 5 Feb 2006 21:40:36 GMT Message-Id: <200602052140.k15LeaVJ077162@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 91188 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: Sun, 05 Feb 2006 21:40:38 -0000 http://perforce.freebsd.org/chv.cgi?CH=91188 Change 91188 by alc@alc_home on 2006/02/05 21:40:13 The contiguity-aware uma_small_alloc() utilizes a vm object. So, "booted" must not be set until the virtual memory system is initialized. In fact, this change just eliminates the early setting of "booted", relying on the setting of "booted" in uma_startup2(). Affected files ... .. //depot/projects/superpages/src/sys/vm/uma_core.c#6 edit Differences ... ==== //depot/projects/superpages/src/sys/vm/uma_core.c#6 (text+ko) ==== @@ -1664,10 +1664,6 @@ bucket_init(); -#ifdef UMA_MD_SMALL_ALLOC - booted = 1; -#endif - #ifdef UMA_DEBUG printf("UMA startup complete.\n"); #endif