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

From: Mel Gorman
Date: Wed Mar 19 2008 - 17:57:37 EST


On (18/03/08 17:45), Andi Kleen didst pronounce:
> > 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.
>

Ok, that is a fair explanation. Thanks.

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
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/