lkml.org 
[lkml]   [2008]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] [6/18] Add support to have individual hstates for each hugetlbfs mount
    From
    Date

    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@suse.de>

    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



    \
     
     \ /
      Last update: 2008-03-18 15:11    [W:4.085 / U:0.288 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site