Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 2010 01:50:53 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r202538 - user/kmacy/releng_8_rump/lib/libunet/unet_sys
Message-ID:  <201001180150.o0I1orMw011043@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Mon Jan 18 01:50:53 2010
New Revision: 202538
URL: http://svn.freebsd.org/changeset/base/202538

Log:
  enable debugging
  don't allocate bootmem

Modified:
  user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_uma_core.c

Modified: user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_uma_core.c
==============================================================================
--- user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_uma_core.c	Mon Jan 18 01:49:46 2010	(r202537)
+++ user/kmacy/releng_8_rump/lib/libunet/unet_sys/unet_uma_core.c	Mon Jan 18 01:50:53 2010	(r202538)
@@ -52,11 +52,11 @@
 __FBSDID("$FreeBSD$");
 
 /* I should really use ktr.. */
-/*
+
 #define UMA_DEBUG 1
 #define UMA_DEBUG_ALLOC 1
 #define UMA_DEBUG_ALLOC_1 1
-*/
+
 
 #include "opt_ddb.h"
 #include "opt_param.h"
@@ -1762,6 +1762,7 @@ uma_startup(void *bootmem, int boot_page
 	/* The initial zone has no Per cpu queues so it's smaller */
 	zone_ctor(kegs, sizeof(struct uma_zone), &args, M_WAITOK);
 
+#if 0	
 #ifdef UMA_DEBUG
 	printf("Filling boot free list.\n");
 #endif
@@ -1772,7 +1773,8 @@ uma_startup(void *bootmem, int boot_page
 		LIST_INSERT_HEAD(&uma_boot_pages, slab, us_link);
 	}
 	pthread_mutex_init(&uma_boot_pages_mtx, NULL);
-
+#endif
+	
 #ifdef UMA_DEBUG
 	printf("Creating uma zone headers zone and keg.\n");
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001180150.o0I1orMw011043>