ÊÜÏã¸Ûó·¢¾ÖίÍУ¬Öйúó´Ù»áµç×ÓÐÅÏ¢ÐÐÒµ·Ö»á½«¼ÌÐø×éÖ¯ÖйúÄÚµØÓÐʵÁ¦µÄµç×ÓÉú²úÆóÒµ¡¢¹¤Ã³¹«Ë¾²Î¼Ó2009ÄêÏã¸Û´º¼¾µç×Ó²úÆ·Õ¹ÀÀ»á¼°¹ú¼Ê×ÊѶ¿Æ¼¼²©ÀÀ»á¡£
Ïã¸Û´º¼¾µç×ÓÕ¹/Ïã¸Û¹ú¼Ê×ÊѶ¿Æ¼¼²©ÀÀ»á¾ùÓÉÏã¸Ûó·¢¾ÖÖ÷°ì¡£2003Ä꿪°ìÒÔÀ´£¬Ã¿Äê¶¼ÓÐÀ´×Ô¶þÊ®¶à¸ö¹ú¼Ò¼°µØÇøµÄ¶þǧ¶à¼Òµç×ÓÆóÒµ²Î¼Ó¡£À´×ÔÒ»°ÙÎåÊ®Óà¹ú¼Ò¼°µØÇøµ
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
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.
Changes since V1:
- Make sure to install wrapper-utils.sh along with tests
Signed-of
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
On Thu, 2008-10-23 at 12:44 +0100, Andy Whitcroft wrote:
> > diff --git a/tests/hugetests.h b/tests/hugetests.h
> > index 270923b..b860244 100644
> > --- a/tests/hugetests.h
> > +++ b/tests/hugetests.h
> > @@ -31,6 +31,8 @@
> > #define RC_PASS0
> > #define RC_CONFIG 1
> > #define RC_FAIL
On recent 64-bit Debian systems, /usr/lib64 is a symbolic link to
/usr/lib and 64-bit libraries are installed to /usr/lib/$ARCH-linux-gnu.
In this case, the 64-bit install of libhugetlbfs overwrites the 32-bit
version of the library. It's different in Ubuntu where lib can be the
64-bit directory, l
On Thu, 23 Oct 2008, Andy Whitcroft wrote:
> gethugepagesizes has two modes: a counting mode which tells us exactly
> how many entries we would need; and a lookup mode which fills in a
> supplied buffer.
>
> The counting mode is defined as triggering when we pass in both a zero
> element count an
On Thu, 23 Oct 2008, Andy Whitcroft wrote:
> The current override for the contents of meminfo via a replacement
> read_meminfo will not work now that these functions are in a library.
> Switch to overriding the files returned from open by overriding that
> instead. This is actually a superior way
The current override for the contents of meminfo via a replacement
read_meminfo will not work now that these functions are in a library.
Switch to overriding the files returned from open by overriding that
instead. This is actually a superior way to test as it also allows us
to test the library im
Following this email are two fixes for gethugepagesizes. The first is a
fix to the test suite to repair the test since the move of various routines
into the library. The second fixes the semantics of gethugepages counting
mode which was incorrectly triggering, as detected by the fixed test.
It sh
gethugepagesizes has two modes: a counting mode which tells us exactly
how many entries we would need; and a lookup mode which fills in a
supplied buffer.
The counting mode is defined as triggering when we pass in both a zero
element count and a NULL buffer pointer. Currently we enter this mode w
On Wed, 22 Oct 2008, Andy Whitcroft wrote:
> 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 essentiall
On Wed, 22 Oct 2008, Andy Whitcroft wrote:
> 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]>
Acked-by: Eric B Munson <[EMAIL PROTECTED]>
signature.asc
Description: Digital sig
On Wed, 22 Oct 2008, Andy Whitcroft wrote:
> 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 W
On Wed, 22 Oct 2008, Andy Whitcroft wrote:
> If no operations were specified then ensure we emit the usage.
>
> Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]>
Acked-by: Eric B Munson <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature
On Wed, 22 Oct 2008, Andy Whitcroft wrote:
> 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
> over
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
On Wed, Oct 22, 2008 at 10:08:45AM +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 whe
各位老总:您们好!
诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!
鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康!
我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口
报关,商检,境内外运输..等等;还可以代办:出口欧盟许可证,欧盟产地证;
并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件
或来电联系;谢谢合作!
电话:0755-81153047。
20 matches
Mail list logo