svn commit: r205134 - head/sys/modules/zfs

Kip Macy kmacy at FreeBSD.org
Sat Mar 13 21:53:49 UTC 2010


Author: kmacy
Date: Sat Mar 13 21:53:48 2010
New Revision: 205134
URL: http://svn.freebsd.org/changeset/base/205134

Log:
  make UMA the default allocator for ZFS buffers - this avoids
  a great deal of contention in kmem_alloc
  
  MFC after:	7 days

Modified:
  head/sys/modules/zfs/Makefile

Modified: head/sys/modules/zfs/Makefile
==============================================================================
--- head/sys/modules/zfs/Makefile	Sat Mar 13 21:52:21 2010	(r205133)
+++ head/sys/modules/zfs/Makefile	Sat Mar 13 21:53:48 2010	(r205134)
@@ -63,8 +63,8 @@ ZFS_SRCS=	${ZFS_OBJS:C/.o$/.c/}
 SRCS+=	${ZFS_SRCS}
 SRCS+=	vdev_geom.c
 
-# Use UMA for ZIO allocation. This is not stable.
-#CFLAGS+=-DZIO_USE_UMA
+# Use UMA for ZIO allocation.
+CFLAGS+=-DZIO_USE_UMA
 
 # Use FreeBSD's namecache.
 CFLAGS+=-DFREEBSD_NAMECACHE


More information about the svn-src-all mailing list