[Libhugetlbfs-devel] [SPAM]

2008-10-13 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口 报关,商检,境内外运输..等等;还可以代办:出口欧盟许可证,欧盟产地证; 并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件 或来电联系;谢谢合作!   电话:0755-81153047。  

Re: [Libhugetlbfs-devel] [PATCH 12/17] hugeadm: allow pools to be resized

2008-10-13 Thread Adam Litke
On Mon, 2008-10-13 at 11:22 +0100, Andy Whitcroft wrote: > Allow resize of specific pools via the --pool-minimum-adjust and > --pool-maximum-adjust commands. The first affects the number of static > pages in the pool, the second affects the number of overcommit pages > for the pool. These are exp

Re: [Libhugetlbfs-devel] [PATCH 17/17] pagesize: add utility to list page sizes

2008-10-13 Thread Adam Litke
On Mon, 2008-10-13 at 11:22 +0100, Andy Whitcroft wrote: > Add a new utility to list page sizes supported on the system. > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> > Acked-by: Mel Gorman <[EMAIL PROTECTED]> > --- > Makefile |8 +++- > pagesize.c | 143 >

Re: [Libhugetlbfs-devel] [PATCH 15/17] lib: add a getpagesizes call returning all page sizes

2008-10-13 Thread Adam Litke
On Mon, 2008-10-13 at 11:22 +0100, Andy Whitcroft wrote: > Utilise the new gethugepagesizes call to implement getpagesizes() call > returning all page sizes on the system, both base page sizes and all > hugepage sizes. > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> With caveat below fixed

Re: [Libhugetlbfs-devel] [PATCH 13/17] hugeadm: expose the available and possible page sizes

2008-10-13 Thread Adam Litke
On Mon, 2008-10-13 at 11:22 +0100, Andy Whitcroft wrote: > Expose possible page sizes. Expose the page sizes which are available > (have pages assigned to them) via --page-sizes. Expose all possible page > sizes (supported by the processor) via --page-sizes-all. Page sizes are > listed in numeri

[Libhugetlbfs-devel] [SPAM]

2008-10-13 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口 报关,商检,境内外运输..等等;还可以代办:出口欧盟许可证,欧盟产地证; 并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件 或来电联系;谢谢合作!   电话:0755-81153047。  

[Libhugetlbfs-devel] [PATCH 17/17] pagesize: add utility to list page sizes

2008-10-13 Thread Andy Whitcroft
Add a new utility to list page sizes supported on the system. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[EMAIL PROTECTED]> --- Makefile |8 +++- pagesize.c | 143 2 files changed, 150 insertions(+),

[Libhugetlbfs-devel] [PATCH 16/17] hugeutils: gethugepagesizes -- ensure we ignore unrepresentable page sizes

2008-10-13 Thread Andy Whitcroft
When calling gethugepagesizes in a 32 bit environment it is possible that some page sizeds will not be representable in the result. Ensure we detect and elide these. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]>

[Libhugetlbfs-devel] [PATCH 11/17] hugeutils: export the pool counter update interface

2008-10-13 Thread Andy Whitcroft
Rename and export the pool counter update interface. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> --- hugetlbfs.h |2 ++ hugeutils.c | 26 +- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/hugetlbfs.h b/

[Libhugetlbfs-devel] [PATCH 14/17] lib: Add gethugepagesizes() API call

2008-10-13 Thread Andy Whitcroft
From: Adam Litke <[EMAIL PROTECTED]> Now that libhugetlbfs supports multiple huge page sizes, it would be nice to have a way to discover the huge page sizes that are supported by the system. This new call should adhere to the semantics established by precedent implementations (see http://docs.sun.

[Libhugetlbfs-devel] [PATCH 13/17] hugeadm: expose the available and possible page sizes

2008-10-13 Thread Andy Whitcroft
Expose possible page sizes. Expose the page sizes which are available (have pages assigned to them) via --page-sizes. Expose all possible page sizes (supported by the processor) via --page-sizes-all. Page sizes are listed in numerical order. Lists only page sizes which are actually available, w

[Libhugetlbfs-devel] [PATCH 10/17] hugeadm: sort the pool configuration output by size and mark the default

2008-10-13 Thread Andy Whitcroft
Sort the output of the pool configuration listing --pool-list, and now that the default size will not be first mark it in a new Default column. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> --- hugeadm.c | 15 --- hugeutils.

[Libhugetlbfs-devel] [PATCH 12/17] hugeadm: allow pools to be resized

2008-10-13 Thread Andy Whitcroft
Allow resize of specific pools via the --pool-minimum-adjust and --pool-maximum-adjust commands. The first affects the number of static pages in the pool, the second affects the number of overcommit pages for the pool. These are exposed as lower and upper bound on the pool to match the display in

[Libhugetlbfs-devel] [PATCH 15/17] lib: add a getpagesizes call returning all page sizes

2008-10-13 Thread Andy Whitcroft
Utilise the new gethugepagesizes call to implement getpagesizes() call returning all page sizes on the system, both base page sizes and all hugepage sizes. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugetlbfs.h |1 + hugeutils.c | 27 +++ tes

[Libhugetlbfs-devel] [PATCH 04/17] hugeutils: size_to_smaller_unit should allow 2GB pages

2008-10-13 Thread Andy Whitcroft
When page sizes become very large they may overflow a long as we convert them from giga-, mega-, or kilo-bytes to bytes. When doing the conversion if we hit an error we return LONG_MAX. On 32bit this is 2GB is is potentially a sensible page size for a 32bit application. As page size is a long we

[Libhugetlbfs-devel] [PATCH 02/17] shm: Shared memory always uses the meminfo page size

2008-10-13 Thread Andy Whitcroft
From: Adam Litke <[EMAIL PROTECTED]> This patch fixes two intertwined issues: When the SHM_HUGETLB flag is passed to shmget(), the system default huge page size is used to back the shared memory segment. Unlike with mmap() there is not yet a way to use an alternate huge page size for shared memo

[Libhugetlbfs-devel] [PATCH 08/17] hugeadm: initial basic framework

2008-10-13 Thread Andy Whitcroft
Add a very basic framework for hugeadm, the administrator pool configuration helper. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> --- Makefile |8 - hugeadm.c | 95 +++

[Libhugetlbfs-devel] [RFC PATCH 00/17] V4 hugeadm framework

2008-10-13 Thread Andy Whitcroft
[This version includes feedback from Adam. It includes fixes to ensure hugeadm will only list page sizes which are available for use, ie. have mounted filesystems. It also handles failure to expand the pool.] Currently the admin has to understand how to configure pools directly. They must know h

[Libhugetlbfs-devel] [PATCH 06/17] build: allow utilities to consist of more than one file

2008-10-13 Thread Andy Whitcroft
Allow a utility control which source files it is made up of. This allows us to reuse some of the utility functions from within libhugetlbfs directly without linking against the library. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[EMAIL PROTECTED]> Acked-by: Adam Litke

[Libhugetlbfs-devel] [PATCH 03/17] Do not allow zero as an explicit page size

2008-10-13 Thread Andy Whitcroft
From: Adam Litke <[EMAIL PROTECTED]> As originally written, the functions hugetlbfs_find_path_for_size() and hugetlbfs_unlinked_fd_for_size() accepted 0 as a valid page size. A page size of zero was interpreted to mean the default size (as defined by libhugetlbfs, not the kernel). This behavior

[Libhugetlbfs-devel] [PATCH 09/17] hugeadm: expose the pool configuration

2008-10-13 Thread Andy Whitcroft
Expose pool allocations for each of the available page sizes via the --pool-list command. Exposes the miniumum and maximimum values indicating the dedicated pages and the size of the overcommit for all supported page sizes. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[

[Libhugetlbfs-devel] [PATCH 05/17] hugeutils: pull out common filenames

2008-10-13 Thread Andy Whitcroft
Pull out all the common filenames and prefixes to a common set of defines. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Mel Gorman <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> --- hugeutils.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-)

[Libhugetlbfs-devel] [PATCH 01/17] utils: Make pool counter manipulation code part of the library API

2008-10-13 Thread Andy Whitcroft
From: Adam Litke <[EMAIL PROTECTED]> The need to set and get pool counters for multiple huge page sizes is about to extend beyond just the libhugetlbfs tests. Move the counter code into hugeutils.c and make the top-level functions part of the libhugetlbfs pool and mount configuration API. This i

[Libhugetlbfs-devel] [PATCH 07/17] debug: allow utilities to share the common debug reporter

2008-10-13 Thread Andy Whitcroft
Where utilities are going to use routines out of the library directly it is helpful to share the debugging routines whilst maintaining the identity of the message producer. Allow the utilities to override the name shown. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMA

Re: [Libhugetlbfs-devel] [PATCH 5/5] Add a manual page for hugeadm

2008-10-13 Thread Eric B Munson
On Fri, 10 Oct 2008, Mel Gorman wrote: > This patch adds a basic manual page for the pagesize utility. > > Signed-off-by: Mel Gorman <[EMAIL PROTECTED]> > --- Applied, thanks. Eric signature.asc Description: Digital signature

Re: [Libhugetlbfs-devel] [PATCH 2/5] Add a manual page for gethugepagesizes()

2008-10-13 Thread Eric B Munson
On Fri, 10 Oct 2008, Mel Gorman wrote: > This patch adds a basic manual page for gethugepagesizes(). > > Signed-off-by: Mel Gorman <[EMAIL PROTECTED]> > --- Applied, thanks. Eric signature.asc Description: Digital signature --

Re: [Libhugetlbfs-devel] [PATCH 4/5] Add a manual page for pagesize

2008-10-13 Thread Eric B Munson
On Fri, 10 Oct 2008, Mel Gorman wrote: > This patch adds a basic manual page for the pagesize utility. > > Signed-off-by: Mel Gorman <[EMAIL PROTECTED]> > --- AApplied, thanks. Eric signature.asc Description: Digital signature ---

Re: [Libhugetlbfs-devel] [PATCH 1/5] Correct hugectl chapter and add reference to hugeadm

2008-10-13 Thread Eric B Munson
On Fri, 10 Oct 2008, Mel Gorman wrote: > hugectl is in chapter 8 but the heading implies it's in 7. Correct that > and add a reference to hugeadm in the "SEE ALSO" section > > Signed-off-by: Mel Gorman <[EMAIL PROTECTED]> > --- Applied, thanks. Eric signature.asc Description: Digital signature

Re: [Libhugetlbfs-devel] [PATCH 3/5] Add a manual page for getpagesizes()

2008-10-13 Thread Eric B Munson
On Fri, 10 Oct 2008, Mel Gorman wrote: > This patch adds a basic manual page for getpagesizes(). > > Signed-off-by: Mel Gorman <[EMAIL PROTECTED]> > --- Applied, thanks. Eric signature.asc Description: Digital signature -

[Libhugetlbfs-devel] [SPAM]

2008-10-13 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口 报关,商检,境内外运输..等等;还可以代办:出口欧盟许可证,欧盟产地证; 并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件 或来电联系;谢谢合作!   电话:0755-81153047。