On 29.07.2008 [16:58:56 +0000], Adam Litke wrote:
>
> ---
>
> HOWTO | 20 ++++++++++++++++++++
> 1 files changed, 20 insertions(+), 0 deletions(-)
>
>
> diff --git a/HOWTO b/HOWTO
> index b2040ed..e7eea3a 100644
> --- a/HOWTO
> +++ b/HOWTO
> @@ -395,6 +395,26 @@ segments to be placed in hugepages:
> HUGETLB_ELFMAP=RW All segments (text/data/BSS)
> HUGETLB_ELFMAP=no No segments
>
> + Default remapping behavior:
> + ---------------------------
> +
> +If --hugetlbfs-link was used to link an application, the chosen remapping
> mode
> +is codified into the binary and becomes the default behavior. Setting
s/codified into/saved in/
> +HUGETLB_ELFMAP=no will disable all remapping and is the only way to modify
> the
> +default behavior.
> +
> +For applications linked with --hugetlbfs-align, the default behavior is to
> not
> +remap any segments into huge pages. To set or display the default remapping
> +mode for a binary, the included hugeedit command can be used:
Does it show the mode if no option is given? Might want to indicate that
below?
> +hugeedit [options] target-executable
> + options:
> + --text,--data Remap the specified segment into huge pages by default
> + --disable Do not remap any segments by default
> +
> +The hugeedit command will set the default mode, but HUGETLB_ELFMAP can be
> used
> +to override it (see above) when running the program.
I think this sentence is a bit confusing (since the only override
allowed is disabling) and redundant ("above" here is only a handful of
lines). I say you can delete it.
Thanks,
Nish
--
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel