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