Re: [PATCH] [13/18] Add support to allocate hugepages of different size with hugepages=...

From: Andi Kleen
Date: Wed Mar 19 2008 - 18:06:28 EST


> hmm, it's not very clear to me how hugetlb_init_hstate() would get
> called twice for the same hstate. Should it be VM_BUG_ON() if a hstate
It is called from a __setup function and the user can specify them multiple
times. Also when the user specified the HPAGE_SIZE already and it got set up
it should not be called again.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/