Module Name: src Committed By: pooka Date: Sun Jul 11 11:27:47 UTC 2010
Modified Files: src/sys/rump/librump/rumpkern: memalloc.c Log Message: Reflect change to pool_drain_end. Makes -DRUMP_USE_UNREAL_ALLOCATORS compile (and work) again. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/rump/librump/rumpkern/memalloc.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/rump/librump/rumpkern/memalloc.c diff -u src/sys/rump/librump/rumpkern/memalloc.c:1.10 src/sys/rump/librump/rumpkern/memalloc.c:1.11 --- src/sys/rump/librump/rumpkern/memalloc.c:1.10 Thu Jul 8 11:39:58 2010 +++ src/sys/rump/librump/rumpkern/memalloc.c Sun Jul 11 11:27:47 2010 @@ -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