[Libhugetlbfs-devel] [PATCH 1/1] hugectl: add support for multiple page sizes

2008-10-30 Thread Andy Whitcroft
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 backi

Re: [Libhugetlbfs-devel] [PATCH 1/1] hugectl: add support for multiple page sizes

2008-10-30 Thread Andy Whitcroft
On Thu, Oct 30, 2008 at 11:33:11AM +, Mel Gorman wrote: > On Wed, Oct 29, 2008 at 04:02:53PM +, 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 e

Re: [Libhugetlbfs-devel] [PATCH 1/1] hugectl: add support for multiple page sizes

2008-10-30 Thread Mel Gorman
On Thu, Oct 30, 2008 at 08:49:05AM -0500, Adam Litke wrote: > On Thu, 2008-10-30 at 11:33 +, Mel Gorman wrote: > > > + char *size = map_size[MAP_BSS]; > > > + if (map_size[MAP_DATA]) > > > + size = map_size[MAP_DATA]; > > > + if (map_size[MAP_DATA] != map

Re: [Libhugetlbfs-devel] [PATCH 1/1] hugectl: add support for multiple page sizes

2008-10-30 Thread Adam Litke
On Thu, 2008-10-30 at 11:33 +, Mel Gorman wrote: > > + char *size = map_size[MAP_BSS]; > > + if (map_size[MAP_DATA]) > > + size = map_size[MAP_DATA]; > > + if (map_size[MAP_DATA] != map_size[MAP_BSS]) > > + WARNING("data and bss

Re: [Libhugetlbfs-devel] [PATCH 1/1] hugectl: add support for multiple page sizes

2008-10-30 Thread Mel Gorman
On Wed, Oct 29, 2008 at 04:02:53PM +, 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

Re: [Libhugetlbfs-devel] [PATCH 1/1] hugectl: fix up Makefile to correctly pass LIB32/LIB64 to hugectl

2008-10-30 Thread Eric B Munson
On Wed, 29 Oct 2008, Andy Whitcroft wrote: > It seems we are passing the LIB32/LIB64 defines to the link phase and not > the compile phase for hugectl. This means that it will not set the library > path correctly. > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Applied, thanks. Eric sig