Re: [PATCH] [6/18] Add support to have individual hstates for eachhugetlbfs mount

From: Adam Litke
Date: Tue Mar 18 2008 - 10:09:01 EST



On Mon, 2008-03-17 at 02:58 +0100, Andi Kleen wrote:
> - Add a new pagesize= option to the hugetlbfs mount that allows setting
> the page size
> - Set up pointers to a suitable hstate for the set page size option
> to the super block and the inode and the vma.
> - Change the hstate accessors to use this information
> - Add code to the hstate init function to set parsed_hstate for command
> line processing
> - Handle duplicated hstate registrations to the make command line user proof
>
> Signed-off-by: Andi Kleen <ak@xxxxxxx>

FWIW, I think this approach is definitely the way to go for supporting
multiple huge page sizes.

--
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center

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