svn commit: r287416 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Wed Sep 2 23:14:40 UTC 2015
Author: mjg
Date: Wed Sep 2 23:14:39 2015
New Revision: 287416
URL: https://svnweb.freebsd.org/changeset/base/287416
Log:
fd: remove UMA_ZONE_ZINIT argument from Files zone
Originally it was added in order to prevent trashing of objects with
INVARIANTS enabled. The same effect is now provided with mere UMA_ZONE_NOFREE.
This reverts r286921.
Discussed with: kib
Modified:
head/sys/kern/kern_descrip.c
Modified: head/sys/kern/kern_descrip.c
==============================================================================
--- head/sys/kern/kern_descrip.c Wed Sep 2 23:09:01 2015 (r287415)
+++ head/sys/kern/kern_descrip.c Wed Sep 2 23:14:39 2015 (r287416)
@@ -3833,7 +3833,7 @@ filelistinit(void *dummy)
{
file_zone = uma_zcreate("Files", sizeof(struct file), NULL, NULL,
- NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE | UMA_ZONE_ZINIT);
+ NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
filedesc0_zone = uma_zcreate("filedesc0", sizeof(struct filedesc0),
NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0);
mtx_init(&sigio_lock, "sigio lock", NULL, MTX_DEF);
More information about the svn-src-all
mailing list