On Wed, 2008-09-10 at 11:11 +1000, David Gibson wrote:
> On Tue, Sep 09, 2008 at 08:20:28PM +, Adam Litke wrote:
> > Allow applications that program to the libhugetlbfs API to specify a page
> > size
> > when requesting a hugetlbfs fd. If the size is invalid or not configured,
> > an
> > err
Allow applications that program to the libhugetlbfs API to specify a page size
when requesting a hugetlbfs fd. If the size is invalid or not configured, an
error will be returned.
Changes since V1:
- Removed redundant handling when pagesize argument is zero
Signed-off-by: Adam Litke <[EMAIL PRO
When multiple huge page sizes are available, libhugetlbfs behavior is to use
the huge page size reported in /proc/meminfo as the default size. Allow other
sizes to be used as the default via a new environment variable:
HUGETLB_DEFAULT_PAGE_SIZE. If this variable is specified, libhugetlbfs will
at
To avoid confusion, the library should store page sizes in bytes and library
interfaces should take page size parameters in bytes as well.
Signed-off-by: Adam Litke <[EMAIL PROTECTED]>
Acked-by: David Gibson <[EMAIL PROTECTED]>
---
hugeutils.c | 26 ++
libhu
On (27/08/08 18:34), Adam Litke didst pronounce:
> An upcoming release of the Linux kernel will support simultaneous use of
> multiple huge page sizes. Each size will be accessed through its own
> specially-mounted hugetlbfs filesystem. The first step in enabling
> libhugetlbfs to support multipl
On (08/09/08 15:10), Adam Litke didst pronounce:
> With the arrival of recent kernel features (namely the dynamic pool and
> multiple huge page sizes), comes increased configuration complexity. To
> ease configuration for users, libhugetlbfs should provide a set of
> library interfaces and a confi
On Wed, 2008-09-10 at 19:47 +0100, Mel Gorman wrote:
> On (08/09/08 15:10), Adam Litke didst pronounce:
> > With the arrival of recent kernel features (namely the dynamic pool and
> > multiple huge page sizes), comes increased configuration complexity. To
> > ease configuration for users, libhuget
On (10/09/08 14:31), Adam Litke didst pronounce:
> On Wed, 2008-09-10 at 19:47 +0100, Mel Gorman wrote:
> > On (08/09/08 15:10), Adam Litke didst pronounce:
> > > With the arrival of recent kernel features (namely the dynamic pool and
> > > multiple huge page sizes), comes increased configuration c
On Wed, Sep 10, 2008 at 02:17:17PM +, Adam Litke wrote:
> Allow applications that program to the libhugetlbfs API to specify a page size
> when requesting a hugetlbfs fd. If the size is invalid or not configured, an
> error will be returned.
>
> Changes since V1:
> - Removed redundant handli