[SPAM] 2009年香港春季电子产品展

2008-10-23 Thread yanghui
ÊÜÏã¸Ûó·¢¾ÖίÍУ¬Öйúó´Ù»áµç×ÓÐÅÏ¢ÐÐÒµ·Ö»á½«¼ÌÐø×éÖ¯ÖйúÄÚµØÓÐʵÁ¦µÄµç×ÓÉú²úÆóÒµ¡¢¹¤Ã³¹«Ë¾²Î¼Ó2009ÄêÏã¸Û´º¼¾µç×Ó²úÆ·Õ¹ÀÀ»á¼°¹ú¼Ê×ÊѶ¿Æ¼¼²©ÀÀ»á¡£ Ïã¸Û´º¼¾µç×ÓÕ¹/Ïã¸Û¹ú¼Ê×ÊѶ¿Æ¼¼²©ÀÀ»á¾ùÓÉÏã¸Ûó·¢¾ÖÖ÷°ì¡£2003Ä꿪°ìÒÔÀ´£¬Ã¿Äê¶¼ÓÐÀ´×Ô¶þÊ®¶à¸ö¹ú¼Ò¼°µØÇøµÄ¶þǧ¶à¼Òµç×ÓÆóÒµ²Î¼Ó¡£À´×ÔÒ»°ÙÎåÊ®Óà¹ú¼Ò¼°µØÇøµ

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

2008-10-23 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 4/4] tests: Catch expected failures for quota test (V2)

2008-10-23 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. Changes since V1: - Make sure to install wrapper-utils.sh along with tests Signed-of

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

2008-10-23 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-23 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

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

2008-10-23 Thread Adam Litke
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

[Libhugetlbfs-devel] [PATCH] Handle the case where lib64 and lib32 resolve to the same place

2008-10-23 Thread Mel Gorman
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

Re: [Libhugetlbfs-devel] [PATCH 2/2] gethugepagesizes: fix selection of counting mode

2008-10-23 Thread Eric B Munson
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

Re: [Libhugetlbfs-devel] [PATCH 1/2] tests: gethugepagesizes -- switch meminfo override to intercepting open

2008-10-23 Thread Eric B Munson
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

[Libhugetlbfs-devel] [PATCH 1/2] tests: gethugepagesizes -- switch meminfo override to intercepting open

2008-10-23 Thread Andy Whitcroft
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

[Libhugetlbfs-devel] [PATCH 0/2] gethugepagesizes fixes

2008-10-23 Thread Andy Whitcroft
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

[Libhugetlbfs-devel] [PATCH 2/2] gethugepagesizes: fix selection of counting mode

2008-10-23 Thread Andy Whitcroft
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

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

2008-10-23 Thread Eric B Munson
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

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

2008-10-23 Thread Eric B Munson
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

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

2008-10-23 Thread Eric B Munson
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

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

2008-10-23 Thread Eric B Munson
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

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

2008-10-23 Thread Eric B Munson
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

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

2008-10-23 Thread Andy Whitcroft
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

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

2008-10-23 Thread Andy Whitcroft
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

[Libhugetlbfs-devel] [SPAM]

2008-10-23 Thread 钟文辉
各位老总:您们好! 诚祝:您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票!   鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康! 我公司可以长期提供:出口报关单,核销单,等等一系列手续;代理:出口 报关,商检,境内外运输..等等;还可以代办:出口欧盟许可证,欧盟产地证; 并且还有(广州国际贸易交易会)的摊位可以转让;价格特别优惠;有意者请来邮件 或来电联系;谢谢合作!   电话:0755-81153047。