[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0908131449270.9805@chino.kir.corp.google.com>
Date: Thu, 13 Aug 2009 14:49:45 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Eric B Munson <ebmunson@...ibm.com>
cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-man@...r.kernel.org, akpm@...ux-foundation.org,
mtk.manpages@...il.com
Subject: Re: [PATCH 3/3] Add MAP_HUGETLB example to vm/hugetlbpage.txt V2
On Thu, 13 Aug 2009, Eric B Munson wrote:
> This patch adds an example of how to use the MAP_HUGETLB flag to
> the vm documentation.
>
> Signed-off-by: Eric B Munson <ebmunson@...ibm.com>
> ---
> Changes from V1:
> Rebase to newest linux-2.6 tree
> Change MAP_LARGEPAGE to MAP_HUGETLB to match flag name in huge page shm
>
> Documentation/vm/hugetlbpage.txt | 80 ++++++++++++++++++++++++++++++++++++++
> 1 files changed, 80 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt
> index ea8714f..d30fa1a 100644
> --- a/Documentation/vm/hugetlbpage.txt
> +++ b/Documentation/vm/hugetlbpage.txt
> @@ -337,3 +337,83 @@ int main(void)
>
> return 0;
> }
> +
> +*******************************************************************
> +
> +/*
> + * Example of using hugepage memory in a user application using the mmap
> + * system call with MAP_LARGEPAGE flag. Before running this program make
s/MAP_LARGEPAGE/MAP_HUGETLB/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists