Re: [Libhugetlbfs-devel] [PATCH 7/7] Audit verbosity of messages in the library utility functions

2008-11-17 Thread Mel Gorman
On Mon, Nov 17, 2008 at 01:03:36PM -0600, Adam Litke wrote: > On Mon, 2008-11-17 at 17:32 +, Mel Gorman wrote: > > On Fri, Nov 14, 2008 at 09:01:09PM +, Adam Litke wrote: > > > Signed-off-by: Adam Litke <[EMAIL PROTECTED]> > > > --- > > > > > > hugeutils.c | 12 ++-- > > >

Re: [Libhugetlbfs-devel] [PATCH 2/7] Audit verbosity of messages in elflink.c

2008-11-17 Thread Mel Gorman
On Mon, Nov 17, 2008 at 12:48:58PM -0600, Adam Litke wrote: > On Mon, 2008-11-17 at 17:23 +, Mel Gorman wrote: > > > @@ -276,7 +276,7 @@ static int find_or_create_share_path(long page_size) > > > > > > ret = mkdir(share_readonly_path, 0700); > > > if ((ret != 0) && (errno != EEXIST)) { >

Re: [Libhugetlbfs-devel] [PATCH 1/7] Add an INFO verbosity level and simplify debugging mode

2008-11-17 Thread Mel Gorman
On Mon, Nov 17, 2008 at 12:36:16PM -0600, Adam Litke wrote: > On Mon, 2008-11-17 at 17:17 +, Mel Gorman wrote: > > On Fri, Nov 14, 2008 at 09:00:32PM +, Adam Litke wrote: > > > The default verbosity level in libhugetlbfs is 1, meaning that only > > > errors are > > > printed. Many of the

[Libhugetlbfs-devel] [PATCH] utils: Disable prefaulting with kernel private reservations

2008-11-17 Thread Adam Litke
When the kernel makes reservations for private hugetlb mappings, prefaulting the heap gains nothing. In this case, the only effect of prefaulting is a loss of memory locality. When private reservations are supported, disable prefaulting automatically, but allow it to be manually enabled via the H

[SPAM] 请。点。击。查。看:

2008-11-17 Thread hjkhjh
¨X¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨h¨T¨[ ¨U¡¡©¦£¬©¦£¹©¦¡¡©¦¡¡©¦£¸©¦¡¡©¦£Ñ©¦¼Ó©¦¡¡©¦¡¡©¦£°©¦ÖÊ©¦¡¡©¦Ó­©¦µÄ©¦ÄÚ©¦¡¡¨U ¨U¡¡©¦³µ©¦£·©¦¡¡©¦¡¡©¦£·©¦¡¡©¦£É©¦ÃË©¦¡¡©¦¡¡©¦£¥©¦ÉÌ©¦¡¡©¦¸÷©¦Î婦É試¡¡¨U ¨U´«©¦»Ý©¦£³©¦¡¡©¦¡¡©¦£¹©¦¡¡©¦£Î©¦Á¬©¦¡¡©¦¡¡©¦µÄ©¦Æ·©¦¡¡©¦Î»©¦½ð©¦ÓЩ¦¡¡¨U

Re: [Libhugetlbfs-devel] [PATCH V3 3/3] Make shmoverride tests zero the overcommit pool

2008-11-17 Thread Eric B Munson
On Wed, 12 Nov 2008, Eric B Munson wrote: > THe shmoverride tests also fail with overcommit pages allocated, this > patch saves their value and then restores it when the test is finished. > > Signed-off-by: Eric B Munson <[EMAIL PROTECTED]> > > --- Applied, thanks. Eric signature.asc Descript

Re: [Libhugetlbfs-devel] [PATCH V3 2/3] Ensure that the overcommit pool is empty before running heap-overflow

2008-11-17 Thread Eric B Munson
On Wed, 12 Nov 2008, Eric B Munson wrote: > Having overcommit pages makes the heap-overflow test fail, this patch > uses the function introduces earlier to set the overcommit pool to 0. > This forces this test to be run as root only. > > Signed-off-by: Eric B Munson <[EMAIL PROTECTED]> > > ---

Re: [Libhugetlbfs-devel] [PATCH V3 1/3] Add a facility for tests to save and restore the number of overcommit pages.

2008-11-17 Thread Eric B Munson
On Wed, 12 Nov 2008, Eric B Munson wrote: > Some of the test suite will fail unexpectedly when the overcommit pool has > any pages allocated. This patch introduces a simple method for saving and > restoring the size of the overcommit pool so these tests can 0 it before > running. > > Signed-off-

Re: [Libhugetlbfs-devel] [PATCH 7/7] Audit verbosity of messages in the library utility functions

2008-11-17 Thread Adam Litke
On Mon, 2008-11-17 at 17:32 +, Mel Gorman wrote: > On Fri, Nov 14, 2008 at 09:01:09PM +, Adam Litke wrote: > > Signed-off-by: Adam Litke <[EMAIL PROTECTED]> > > --- > > > > hugeutils.c | 12 ++-- > > kernel-features.c | 16 > > 2 files changed, 14 insert

Re: [Libhugetlbfs-devel] [PATCH 6/7] Audit verbosity of messages in shm.c

2008-11-17 Thread Adam Litke
On Mon, 2008-11-17 at 17:30 +, Mel Gorman wrote: > On Fri, Nov 14, 2008 at 09:01:03PM +, Adam Litke wrote: > > > > --- > > > > shm.c |8 > > 1 files changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/shm.c b/shm.c > > index ac3b52a..5e96400 100644 > > --- a/shm.c

Re: [Libhugetlbfs-devel] [PATCH 4/7] Audit verbosity of messages in alloc.c

2008-11-17 Thread Adam Litke
On Mon, 2008-11-17 at 17:28 +, Mel Gorman wrote: > On Fri, Nov 14, 2008 at 09:00:50PM +, Adam Litke wrote: > > > > --- > > > > alloc.c |8 +--- > > 1 files changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/alloc.c b/alloc.c > > index 750b2cb..f231f2c 100644 > > --- a

Re: [Libhugetlbfs-devel] [PATCH 2/7] Audit verbosity of messages in elflink.c

2008-11-17 Thread Adam Litke
On Mon, 2008-11-17 at 17:23 +, Mel Gorman wrote: > > @@ -276,7 +276,7 @@ static int find_or_create_share_path(long page_size) > > > > ret = mkdir(share_readonly_path, 0700); > > if ((ret != 0) && (errno != EEXIST)) { > > - ERROR("Error creating share directory %s\n", > > +

Re: [Libhugetlbfs-devel] [PATCH 1/7] Add an INFO verbosity level and simplify debugging mode

2008-11-17 Thread Adam Litke
On Mon, 2008-11-17 at 17:17 +, Mel Gorman wrote: > On Fri, Nov 14, 2008 at 09:00:32PM +, Adam Litke wrote: > > The default verbosity level in libhugetlbfs is 1, meaning that only errors > > are > > printed. Many of the new library features can have outcomes that are very > > meaningful wa

Re: [Libhugetlbfs-devel] [PATCH 7/7] Audit verbosity of messages in the library utility functions

2008-11-17 Thread Mel Gorman
On Fri, Nov 14, 2008 at 09:01:09PM +, Adam Litke wrote: > Signed-off-by: Adam Litke <[EMAIL PROTECTED]> > --- > > hugeutils.c | 12 ++-- > kernel-features.c | 16 > 2 files changed, 14 insertions(+), 14 deletions(-) > > diff --git a/hugeutils.c b/hugeutils.

Re: [Libhugetlbfs-devel] [PATCH 6/7] Audit verbosity of messages in shm.c

2008-11-17 Thread Mel Gorman
On Fri, Nov 14, 2008 at 09:01:03PM +, Adam Litke wrote: > > --- > > shm.c |8 > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/shm.c b/shm.c > index ac3b52a..5e96400 100644 > --- a/shm.c > +++ b/shm.c > @@ -38,7 +38,7 @@ int shmget(key_t key, size_t size, int

Re: [Libhugetlbfs-devel] [PATCH 4/7] Audit verbosity of messages in alloc.c

2008-11-17 Thread Mel Gorman
On Fri, Nov 14, 2008 at 09:00:50PM +, Adam Litke wrote: > > --- > > alloc.c |8 +--- > 1 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/alloc.c b/alloc.c > index 750b2cb..f231f2c 100644 > --- a/alloc.c > +++ b/alloc.c > @@ -35,7 +35,7 @@ static void *fallback_base_p

Re: [Libhugetlbfs-devel] [PATCH 2/7] Audit verbosity of messages in elflink.c

2008-11-17 Thread Mel Gorman
On Fri, Nov 14, 2008 at 09:00:38PM +, Adam Litke wrote: > > --- > > elflink.c | 101 > - > 1 files changed, 53 insertions(+), 48 deletions(-) > > diff --git a/elflink.c b/elflink.c > index 63229f6..e38e796 100644 > --- a/elflink.

Re: [Libhugetlbfs-devel] [PATCH 1/7] Add an INFO verbosity level and simplify debugging mode

2008-11-17 Thread Mel Gorman
On Fri, Nov 14, 2008 at 09:00:32PM +, Adam Litke wrote: > The default verbosity level in libhugetlbfs is 1, meaning that only errors are > printed. Many of the new library features can have outcomes that are very > meaningful warnings which should be displayed by default. For example, if a >

Re: [Libhugetlbfs-devel] [PATCH] [RFC] Enable automatic testing of multiple huge page sizes

2008-11-17 Thread Mel Gorman
On Thu, Nov 13, 2008 at 08:26:12PM +, Adam Litke wrote: > Now that libhugetlbfs can work with multiple huge page sizes, testing this > support has become a priority. The following patch enables automatic testing > of page sizes that are mounted and have at least one page allocated. Care is >

Re: [Libhugetlbfs-devel] [PATCH] [RFC] Enable automatic testing of multiple huge page sizes

2008-11-17 Thread Mel Gorman
On Fri, Nov 14, 2008 at 05:51:29PM +1100, David Gibson wrote: > On Thu, Nov 13, 2008 at 08:26:12PM +, Adam Litke wrote: > > Now that libhugetlbfs can work with multiple huge page sizes, testing this > > support has become a priority. The following patch enables automatic > > testing > > of pa

[Libhugetlbfs-devel] [PATCH 7/7] Audit verbosity of messages in the library utility functions

2008-11-17 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- hugeutils.c | 12 ++-- kernel-features.c | 16 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/hugeutils.c b/hugeutils.c index 1121966..999da74 100644 --- a/hugeutils.c +++ b/hugeutils.c @@ -293,

[Libhugetlbfs-devel] [PATCH 3/7] Audit verbosity of messages in morecore.c

2008-11-17 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- morecore.c | 36 ++-- 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/morecore.c b/morecore.c index 95d0470..ccda51f 100644 --- a/morecore.c +++ b/morecore.c @@ -74,7 +74,7 @@ static void *hugetlb

[Libhugetlbfs-devel] [PATCH 6/7] Audit verbosity of messages in shm.c

2008-11-17 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- shm.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shm.c b/shm.c index ac3b52a..5e96400 100644 --- a/shm.c +++ b/shm.c @@ -38,7 +38,7 @@ int shmget(key_t key, size_t size, int shmflg) size_t aligned_size

[Libhugetlbfs-devel] [PATCH 4/7] Audit verbosity of messages in alloc.c

2008-11-17 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- alloc.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/alloc.c b/alloc.c index 750b2cb..f231f2c 100644 --- a/alloc.c +++ b/alloc.c @@ -35,7 +35,7 @@ static void *fallback_base_pages(size_t len, ghp_t flags) {

[Libhugetlbfs-devel] [PATCH 5/7] Audit verbosity of messages in the utilities

2008-11-17 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- hugeadm.c | 12 ++-- hugectl.c |8 pagesize.c |4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hugeadm.c b/hugeadm.c index 6e9e939..f190a41 100644 --- a/hugeadm.c +++ b/hugeadm.c @@ -162,7 +162

[Libhugetlbfs-devel] [PATCH 2/7] Audit verbosity of messages in elflink.c

2008-11-17 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- elflink.c | 101 - 1 files changed, 53 insertions(+), 48 deletions(-) diff --git a/elflink.c b/elflink.c index 63229f6..e38e796 100644 --- a/elflink.c +++ b/elflink.c @@ -252,14 +252,14

[Libhugetlbfs-devel] [PATCH 1/7] Add an INFO verbosity level and simplify debugging mode

2008-11-17 Thread Adam Litke
The default verbosity level in libhugetlbfs is 1, meaning that only errors are printed. Many of the new library features can have outcomes that are very meaningful warnings which should be displayed by default. For example, if a user specifies an incorrect page size in HUGETLB_ELFMAP, a warning i

Re: [Libhugetlbfs-devel] [PATCH V2 2/3] Ensure that the overcommit pool is empty before running heap-overflow

2008-11-17 Thread Mel Gorman
On Mon, Nov 10, 2008 at 04:18:02PM +, Eric B Munson wrote: > Having overcommit pages makes the heap-overflow test fail, this patch > uses the function introduces earlier to set the overcommit pool to 0. > This forces this test to be run as root only. > > Signed-off-by: Eric B Munson <[EMAIL PR