Re: [Libhugetlbfs-devel] [PATCH] Check MEMLOCK limit in mlock test v2

2008-04-15 Thread Nishanth Aravamudan
On 15.04.2008 [10:39:01 -0700], Eric B Munson wrote: > Ensure that the locked memory limit is bigger than a huge page before trying > the test. > > Signed-off-by: Eric Munson <[EMAIL PROTECTED]> Applied, thanks, Nish -- Nishanth Aravamudan <[EMAIL PROTECTED]> IBM Linux Technology Center --

[Libhugetlbfs-devel] [PATCH] Check MEMLOCK limit in mlock test v2

2008-04-15 Thread Eric B Munson
Ensure that the locked memory limit is bigger than a huge page before trying the test. Signed-off-by: Eric Munson <[EMAIL PROTECTED]> --- Changes from v1: use check_hugepagesize to avoid 32 bit overflow tests/mlock.c |7 +++ 1 file changed, 7 insertions(+) diff -upNr libhugetlbfs-1.3-p

Re: [Libhugetlbfs-devel] [PATCH] Check MEMLOCK limit in mlock test

2008-04-15 Thread Nishanth Aravamudan
On 11.04.2008 [17:26:33 -0700], Eric B Munson wrote: > Ensure that the locked memory limit is bigger than a huge page before trying > the test. > > Signed-off-by: Eric Munson <[EMAIL PROTECTED]> > > --- > > tests/mlock.c |6 ++ > 1 file changed, 6 insertions(+) > > diff -upNr libhugetl

[Libhugetlbfs-devel] [PATCH] Check MEMLOCK limit in mlock test

2008-04-11 Thread Eric B Munson
Ensure that the locked memory limit is bigger than a huge page before trying the test. Signed-off-by: Eric Munson <[EMAIL PROTECTED]> --- tests/mlock.c |6 ++ 1 file changed, 6 insertions(+) diff -upNr libhugetlbfs-1.3-pre1.orig/tests/mlock.c libhugetlbfs-1.3-pre1/tests/mlock.c --- li