Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpkern Enable kernel kmem/vmem/pool/pool_...



details:   https://anonhg.NetBSD.org/src/rev/26647590e4ec
branches:  trunk
changeset: 748832:26647590e4ec
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Nov 06 16:16:59 2009 +0000

description:
Enable kernel kmem/vmem/pool/pool_cache by default again instead
of malloc(3) allocators.

diffstat:

 sys/rump/librump/rumpkern/Makefile.rumpkern |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 7ffc93f58c0c -r 26647590e4ec sys/rump/librump/rumpkern/Makefile.rumpkern
--- a/sys/rump/librump/rumpkern/Makefile.rumpkern       Fri Nov 06 16:15:16 2009 +0000
+++ b/sys/rump/librump/rumpkern/Makefile.rumpkern       Fri Nov 06 16:16:59 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rumpkern,v 1.62 2009/11/04 19:21:51 pooka Exp $
+#      $NetBSD: Makefile.rumpkern,v 1.63 2009/11/06 16:16:59 pooka Exp $
 #
 
 .include "${RUMPTOP}/Makefile.rump"
@@ -60,8 +60,8 @@
 # Comment these if you want to use malloc(3) directly instead of
 # the kernel allocators.  It's a few percent faster, but doesn't
 # emulate all kernel corner cases as well.
-#CPPFLAGS+=    -DRUMP_USE_REAL_ALLOCATORS
-#SRCS+=                subr_kmem.c subr_pool.c subr_vmem.c
+CPPFLAGS+=     -DRUMP_USE_REAL_ALLOCATORS
+SRCS+=         subr_kmem.c subr_pool.c subr_vmem.c
 
 # no shlib_version because this is automatically in sync with lib/librump
 SHLIB_MAJOR=    0



Home | Main Index | Thread Index | Old Index