Re: [PATCH] [2/18] Add basic support for more than one hstate in hugetlbfs

From: Andi Kleen
Date: Sun Mar 23 2008 - 07:25:52 EST


> 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.

-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/