On Wed, Oct 29, 2008 at 04:43:02PM +0000, Eric B Munson wrote:
> On Wed, 29 Oct 2008, Andy Whitcroft wrote:
> 
> > Add support for multiple page sizes to hugectl.  Now that the library
> > supports specification of the backing page size to use for the various
> > mappings we should expose this functionality in hugectl.  This patch
> > adds an optional size argument to all of the segment mapping options
> > specifying the backing page size required.  These are converted into the
> > appropriate variables and passed on.  For example, the following incantation
> > requests text be placed in 2MB pages, data in 64KB pages and the heap in
> > the default size:
> > 
> >     hugectl --text=2M --data=64K --heap ls
> > 
> > Combinations which are not possible result in warnings as normal.
> > The sizes are not validated but passed verbatim to the library which will
> > then validate them.
> > 
> > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
> 
> I didn't see anything that I object to, but I do not have the hardware to 
> test.
> 
> Reviewed-by: Eric B Munson <[EMAIL PROTECTED]>

You can test this in principle without any hardware using the --dry-run
option.  This in combination with the various options will show you the
variables as set and allow you to see if its doing something sane.

-apw

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to