Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Handle rump like the direct mapping case.



details:   https://anonhg.NetBSD.org/src/rev/175556ffc61c
branches:  trunk
changeset: 751927:175556ffc61c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Feb 08 22:55:36 2010 +0000

description:
Handle rump like the direct mapping case.

diffstat:

 sys/kern/uipc_mbuf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d5e629a62902 -r 175556ffc61c sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Mon Feb 08 21:47:20 2010 +0000
+++ b/sys/kern/uipc_mbuf.c      Mon Feb 08 22:55:36 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index