diff options
author | 2015-04-07 11:15:02 +0000 | |
---|---|---|
committer | 2015-04-07 11:15:02 +0000 | |
commit | f4f1f274c8030413e73802d97794ac3060bd427e (patch) | |
tree | 4dd67138f3070b2eb332e0a390d4763dff9fd568 | |
parent | introduce a garbage collector for (very) idle pool pages. (diff) | |
download | wireguard-openbsd-f4f1f274c8030413e73802d97794ac3060bd427e.tar.xz wireguard-openbsd-f4f1f274c8030413e73802d97794ac3060bd427e.zip |
nothing uses pool_sleep, so get rid of it
-rw-r--r-- | sys/kern/subr_pool.c | 4 |
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); |