Ryan Libby 3182660a85 uma: delay bucket_init() until we might actually enable buckets
This helps with a bootstrapping problem in upcoming work.

We don't first enable buckets until uma_startup2(), so we can delay
bucket creation until then.  The other two paths to bucket_enable() are
both later, one in the pageout daemon (SI_SUB_KTHREAD_PAGE vs SI_SUB_VM)
and one in uma_timeout() (first activated in uma_startup3()).  Note that
although some bucket functions are accessible before uma_startup2()
(e.g. bucket_select() in zone_ctor()), none of them inspect ubz_zone.

Discussed with:	jeff
Reviewed by:	markj
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D22765
2019-12-13 09:32:03 +00:00
..
2019-12-10 18:14:50 +00:00
2019-12-10 18:14:50 +00:00
2019-12-10 18:14:50 +00:00
2019-12-06 16:53:42 +00:00
2019-09-27 19:17:40 +00:00
2019-12-10 18:14:50 +00:00
2019-12-10 18:14:50 +00:00
2019-12-10 14:07:05 +00:00