Revert r231829, that was my braino.

This commit is contained in:
Gleb Smirnoff 2012-02-22 09:08:51 +00:00
parent f911d9fa4d
commit 77a117ca28
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231997

View File

@ -3208,11 +3208,11 @@ ngb_mod_event(module_t mod, int event, void *data)
MTX_DEF);
#endif
ng_qzone = uma_zcreate("NetGraph items", sizeof(struct ng_item),
NULL, NULL, NULL, NULL, UMA_ALIGN_CACHE, M_WAITOK);
NULL, NULL, NULL, NULL, UMA_ALIGN_CACHE, 0);
uma_zone_set_max(ng_qzone, maxalloc);
ng_qdzone = uma_zcreate("NetGraph data items",
sizeof(struct ng_item), NULL, NULL, NULL, NULL,
UMA_ALIGN_CACHE, M_WAITOK);
UMA_ALIGN_CACHE, 0);
uma_zone_set_max(ng_qdzone, maxdata);
/* Autoconfigure number of threads. */
if (numthreads <= 0)