summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-11-18 08:27:14 +0000
committerjeff <jeff@FreeBSD.org>2002-11-18 08:27:14 +0000
commit11d7ff5fa84278166bae48f7cd5235d5964ed1e0 (patch)
tree5e21e3b7cc8c761542158d4d7f14b64c95d999c9 /sys
parent6d496481e4c329fb0c4f36cf225ad525052edec7 (diff)
downloadFreeBSD-src-11d7ff5fa84278166bae48f7cd5235d5964ed1e0.zip
FreeBSD-src-11d7ff5fa84278166bae48f7cd5235d5964ed1e0.tar.gz
- Wakeup the correct address when a zone is no longer full.
Spotted by: jake
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/uma_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index be7b52f..a3da677 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -1864,7 +1864,7 @@ uma_zfree_internal(uma_zone_t zone, void *item, void *udata, int skip)
zone->uz_flags &= ~UMA_ZFLAG_FULL;
/* We can handle one more allocation */
- wakeup_one(&zone);
+ wakeup_one(zone);
}
ZONE_UNLOCK(zone);
OpenPOWER on IntegriCloud