Re: [Libhugetlbfs-devel] [PATCH 2/4] tests: Infrastructure for expected test failures

2008-10-22 Thread David Gibson
On Wed, Oct 22, 2008 at 08:55:13PM +, Adam Litke wrote: > The libhugetlbfs test suite has various tests for which a failure (under > certain circumstances) is expected and not indicative of an error. It would > be desirable to specially annotate these cases to eliminate the need for the > t

[Libhugetlbfs-devel] [PATCH 4/4] tests: Catch expected failures for quota test

2008-10-22 Thread Adam Litke
quota is known to fail on kernels < 2.6.24. Create a wrapper script to check for an old running kernel and report the failure as expected. Place reusable shell functions into their own wrapper-utils.sh script. Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- tests/Makefile |2 +-

[Libhugetlbfs-devel] [PATCH 2/4] tests: Infrastructure for expected test failures

2008-10-22 Thread Adam Litke
The libhugetlbfs test suite has various tests for which a failure (under certain circumstances) is expected and not indicative of an error. It would be desirable to specially annotate these cases to eliminate the need for the tester to know which failures are known and which could be bugs. Thi

[Libhugetlbfs-devel] [PATCH 3/4] tests: Add helper for comparing kernel versions

2008-10-22 Thread Adam Litke
Make use of pre-existing kernel version comparison code and create a helper that can be used by test wrapper scripts to compare two kernel versions. Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- kernel-features.c| 11 +++ libhugetlbfs_privutils.h |3 +++ tests/Makefile

[Libhugetlbfs-devel] [PATCH 1/4] utils: Buglet in kernel version comparison function

2008-10-22 Thread Adam Litke
Oops. The greater-than operator (>) is not commutative. While trying to test for a > b, we are accidentally re-testing a < b. Fix. Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- kernel-features.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel-features.c b

[Libhugetlbfs-devel] [PATCH 0/5] V1 hugeadm no overcommit and other fun

2008-10-22 Thread Andy Whitcroft
Following this email are 5 patches. The come out of the work to fix up hugeadm to handle older kernels without overcommit support. The first two are basically bug fixes. The third represents the fixes needed to handle overcommit being missing, essentially making maximum track minimum at all time

[Libhugetlbfs-devel] [PATCH 3/5] hugeadm: cleanup pool size adjustment for kernels without overcommit

2008-10-22 Thread Andy Whitcroft
In older kernels we have no overcommit support. This means that there can never be a minimum/maximum spread. Also it means we do not have overcommit counters on read. Basically we make --pool-pages-max error indicating that there is no overcommit support. When we attempt to change the minimum w

[Libhugetlbfs-devel] [PATCH 4/5] hugeadm: check for and report the lack of hugepage support in the kernel

2008-10-22 Thread Andy Whitcroft
A lot of commands simply will go horribly wrong if we do not have hugepage support in the kernel. Check for and error out if we do not have hugepage support. Note that we still allow usage checks and the like regardless. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugeadm.c

[Libhugetlbfs-devel] [PATCH 1/5] counters: we should be using size_to_smaller_unit to convert units

2008-10-22 Thread Andy Whitcroft
When moving from KB to B for the default page size we must always use size_to_smaller_unit in case we overflow. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugeutils.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hugeutils.c b/hugeutils.c index ae60f39..abcf

[Libhugetlbfs-devel] [PATCH 5/5] privutils: expose the kernel default page size

2008-10-22 Thread Andy Whitcroft
We use the kernel default page size all over the place. We use it approximatly 6 times when setting the boundaries on a single pool. Currently every place looks this value up in /proc/meminfo which is very costly. As this value is essentially static per boot we can cache this value. Create a new

[Libhugetlbfs-devel] [PATCH 2/5] hugeadm: emit the usage is no operations are specified

2008-10-22 Thread Andy Whitcroft
If no operations were specified then ensure we emit the usage. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugeadm.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/hugeadm.c b/hugeadm.c index 8434eef..9c7ae1c 100644 --- a/hugeadm.c +++ b/hugeadm.c @@ -244

Re: [Libhugetlbfs-devel] [PATCH] Add reference to hugeadm for pool admin and adjust page count for tests V2

2008-10-22 Thread Adam Litke
On Wed, 2008-10-22 at 10:08 +0100, Eric B Munson wrote: > This patch Adjusts the HOWTO section on sizing huge page pools to reference > the hugeadm utlity. > > Also it changes the number of pages from 20 to 25 for most test cases and > calls out PowerPC 64kb pages as a specific instance where more

[Libhugetlbfs-devel] Gambir Sarawak ???

2008-10-22 Thread pixcelrunner
Hi. Wanna Know About Gambir Sarawak??? More Information please visit here: mygambirsarawak.blogspot.com or www.pixcelrunner.com <>- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coo

[Libhugetlbfs-devel] [PATCH] Add reference to hugeadm for pool admin and adjust page count for tests V2

2008-10-22 Thread Eric B Munson
This patch Adjusts the HOWTO section on sizing huge page pools to reference the hugeadm utlity. Also it changes the number of pages from 20 to 25 for most test cases and calls out PowerPC 64kb pages as a specific instance where more than 25 pages will be necessary for test suite completion. Signe

[Libhugetlbfs-devel] [SPAM] 任打全国9分钱;40 06新套餐参考

2008-10-22 Thread 刘先生
尊敬的您: 您好! 我是中国网通刘先生,出于对贵公司的考虑,今天是特向您介绍两种最好的电话套餐。 --中国网通4006;任打全国最低至9分钱网络电话: 一、新型网络电话: 国内长途、短途,任打每分钟0.1元/分,不开电脑,插上网线,连上电话就可以拨打全国电话了。音质完全等同电信固话,在对方手机、固话上可显示你任意设定的电话号码。无最低月消费,话费余额、通话详单随时网上查询的功能,真正实现透明消费。 二、中国网通4006 4006业务为800的升级版。解决了企业面对800电话巨大的开通费和电话费上的顾虑。 4006电话七大优点: 1、4006免费电话业务方便消费者查询和