From a48233737f2201f3e175886992d870819a27518a Mon Sep 17 00:00:00 2001 From: pooka Date: Tue, 14 Oct 2008 10:32:38 +0000 Subject: [PATCH] score some stubs --- sys/rump/librump/rumpkern/pool.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/sys/rump/librump/rumpkern/pool.c b/sys/rump/librump/rumpkern/pool.c index b28efcf35b95..cc4424a798cb 100644 --- a/sys/rump/librump/rumpkern/pool.c +++ b/sys/rump/librump/rumpkern/pool.c @@ -1,4 +1,4 @@ -/* $NetBSD: pool.c,v 1.9 2008/08/04 15:02:16 pooka Exp $ */ +/* $NetBSD: pool.c,v 1.10 2008/10/14 10:32:38 pooka Exp $ */ /* * Copyright (c) 2007 Antti Kantee. All Rights Reserved. @@ -157,6 +157,30 @@ pool_setlowat(struct pool *pp, int n) return; } +void +pool_cache_sethardlimit(pool_cache_t pc, int n, const char *warnmess, + int ratecap) +{ + + return; +} + +void +pool_cache_setlowat(pool_cache_t pc, int n) +{ + + return; +} + +void +pool_cache_set_drain_hook(pool_cache_t pc, void (*fn)(void *, int), void *arg) +{ + + /* XXX: notused */ + pc->pc_pool.pr_drain_hook = fn; + pc->pc_pool.pr_drain_hook_arg = arg; +} + /* XXX: for tmpfs, shouldn't be here */ void *pool_page_alloc_nointr(struct pool *, int); void pool_page_free_nointr(struct pool *, void *);