Module Name:    src
Committed By:   joerg
Date:           Mon Feb  8 22:55:37 UTC 2010

Modified Files:
        src/sys/kern: uipc_mbuf.c

Log Message:
Handle rump like the direct mapping case.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/kern/uipc_mbuf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/uipc_mbuf.c
diff -u src/sys/kern/uipc_mbuf.c:1.133 src/sys/kern/uipc_mbuf.c:1.134
--- src/sys/kern/uipc_mbuf.c:1.133	Mon Feb  8 19:02:33 2010
+++ src/sys/kern/uipc_mbuf.c	Mon Feb  8 22:55:36 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: uipc_mbuf.c,v 1.133 2010/02/08 19:02:33 joerg Exp $	*/
+/*	$NetBSD: uipc_mbuf.c,v 1.134 2010/02/08 22:55:36 joerg Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.133 2010/02/08 19:02:33 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.134 2010/02/08 22:55:36 joerg Exp $");
 
 #include "opt_mbuftrace.h"
 #include "opt_nmbclusters.h"
@@ -161,7 +161,7 @@
 static int
 nmbclusters_limit(void)
 {
-#ifdef PMAP_MAP_POOLPAGE
+#if defined(PMAP_MAP_POOLPAGE) || defined(_RUMPKERNEL)
 	/* direct mapping, doesn't use space in kmem_map */
 	vsize_t max_size = physmem / 4;
 #else

Reply via email to