+ int mbuf_pool = 0;
+ static boolean_t was_overridden = FALSE;
+
+ /* If called more than once, return the previously calculated size */
+ if (mbuf_poolsz != 0)
+ goto done;
+
+ /*
+ * Some of these are parsed in parse_bsd_args(), but for x86 we get
+ * here early from i386_vm_init() and so we parse them now, in order
+ * to correctly compute the size of the low-memory VM pool. It is
+ * redundant but rather harmless.
+ */
+ //(void) PE_parse_boot_argn("srv", &srv, sizeof (srv));
+ (void) PE_parse_boot_argn("ncl", &ncl, sizeof (ncl));
+ (void) PE_parse_boot_argn("mbuf_pool", &mbuf_pool, sizeof (mbuf_pool));
+
+ /*
+ * Convert "mbuf_pool" from MB to # of 2KB clusters; it is
+ * equivalent to "ncl", except that it uses different unit.
+ */
+ if (mbuf_pool != 0)
+ ncl = (mbuf_pool << MBSHIFT) >> MCLSHIFT;
+
+ if (sane_size > (64 * 1024 * 1024) || ncl != 0) {
+
+ if (ncl || srv)
+ was_overridden = TRUE;