Re: [PATCH] [2/18] Add basic support for more than one hstate in hugetlbfs
> this function is called once by one boot parameter, right? > if so, this function cause panic when stupid user write many > hugepagesz boot parameter.
A later patch fixes that up by looking up the hstate explicitely. Also it is bisect safe because the callers are only added later.