From owner-p4-projects@FreeBSD.ORG Thu Jul 5 07:31:16 2007 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 AB1BE16A46B; Thu, 5 Jul 2007 07:31:15 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B44D16A400 for ; Thu, 5 Jul 2007 07:31:15 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5C64B13C459 for ; Thu, 5 Jul 2007 07:31:15 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l657VFGH017439 for ; Thu, 5 Jul 2007 07:31:15 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l657VFWP017436 for perforce@freebsd.org; Thu, 5 Jul 2007 07:31:15 GMT (envelope-from kmacy@freebsd.org) Date: Thu, 5 Jul 2007 07:31:15 GMT Message-Id: <200707050731.l657VFWP017436@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 122917 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, 05 Jul 2007 07:31:16 -0000 http://perforce.freebsd.org/chv.cgi?CH=122917 Change 122917 by kmacy@kmacy_vt-x:opentoe_init on 2007/07/05 07:30:26 switch zone_jumbo9 and zone_jumbo16 over to use physically contiguous allocator Affected files ... .. //depot/projects/opentoe/sys/kern/kern_mbuf.c#6 edit Differences ... ==== //depot/projects/opentoe/sys/kern/kern_mbuf.c#6 (text+ko) ==== @@ -227,6 +227,8 @@ if (nmbjumbo9 > 0) uma_zone_set_max(zone_jumbo9, nmbjumbo9); + uma_zone_set_contig(zone_jumbo9); + zone_jumbo16 = uma_zcreate(MBUF_JUMBO16_MEM_NAME, MJUM16BYTES, mb_ctor_clust, mb_dtor_clust, #ifdef INVARIANTS @@ -238,6 +240,8 @@ if (nmbjumbo16 > 0) uma_zone_set_max(zone_jumbo16, nmbjumbo16); + uma_zone_set_contig(zone_jumbo16); + zone_ext_refcnt = uma_zcreate(MBUF_EXTREFCNT_MEM_NAME, sizeof(u_int), NULL, NULL, NULL, NULL,