summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-04-07 11:15:02 +0000
committerdlg <dlg@openbsd.org>2015-04-07 11:15:02 +0000
commitf4f1f274c8030413e73802d97794ac3060bd427e (patch)
tree4dd67138f3070b2eb332e0a390d4763dff9fd568
parentintroduce a garbage collector for (very) idle pool pages. (diff)
downloadwireguard-openbsd-f4f1f274c8030413e73802d97794ac3060bd427e.tar.xz
wireguard-openbsd-f4f1f274c8030413e73802d97794ac3060bd427e.zip
nothing uses pool_sleep, so get rid of it
-rw-r--r--sys/kern/subr_pool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index c160f5e59fa..e83ab4ad508 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.183 2015/04/07 11:07:56 dlg Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.184 2015/04/07 11:15:02 dlg Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -161,8 +161,6 @@ void pool_print1(struct pool *, const char *, int (*)(const char *, ...)
__attribute__((__format__(__kprintf__,1,2))));
#endif
-#define pool_sleep(pl) msleep(pl, &pl->pr_mtx, PSWP, pl->pr_wchan, 0)
-
/* stale page garbage collectors */
void pool_gc_sched(void *);
struct timeout pool_gc_tick = TIMEOUT_INITIALIZER(pool_gc_sched, NULL);