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 Reflect change to pool_drain_end. ...



details:   https://anonhg.NetBSD.org/src/rev/f691891663ff
branches:  trunk
changeset: 756301:f691891663ff
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Jul 11 11:27:47 2010 +0000

description:
Reflect change to pool_drain_end.  Makes -DRUMP_USE_UNREAL_ALLOCATORS
compile (and work) again.

diffstat:

 sys/rump/librump/rumpkern/memalloc.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 635f2b7cf84d -r f691891663ff sys/rump/librump/rumpkern/memalloc.c
--- a/sys/rump/librump/rumpkern/memalloc.c      Sun Jul 11 11:25:22 2010 +0000
+++ b/sys/rump/librump/rumpkern/memalloc.c      Sun Jul 11 11:27:47 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: memalloc.c,v 1.10 2010/07/08 11:39:58 pooka Exp $      */
+/*     $NetBSD: memalloc.c,v 1.11 2010/07/11 11:27:47 pooka Exp $      */
 
 /*
  * Copyright (c) 2009 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: memalloc.c,v 1.10 2010/07/08 11:39:58 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: memalloc.c,v 1.11 2010/07/11 11:27:47 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -306,11 +306,12 @@
        /* nada */
 }
 
-void
+bool
 pool_drain_end(struct pool *pp, uint64_t w)
 {
 
-       /* nada again */
+       /* can't reclaim anything in this model */
+       return false;
 }
 
 int



Home | Main Index | Thread Index | Old Index