Re: [Libhugetlbfs-devel] [PATCH 14/14] export hugetlbfs_find_path_for_size/hugetlbfs_unlinked_fd_for_size as V2.1 API

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > We have historically exported the default size versions of these functions. > It makes sense therefore to export their new multi-pagesize versions as > part of the V2.1 API. > > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: A

Re: [Libhugetlbfs-devel] [PATCH 13/14] export getpagesizes/gethugepagesizes as V2.1 API

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > version.lds |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/version.lds b/version.lds > index 0517ad3..

Re: [Libhugetlbfs-devel] [PATCH 12/14] make direct_syscall library static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Note that as this is directly referenced in assembly we cannot trivially > rename it to __lh_, nor would this make it easy to change back and forth. > Take this as an exception and put it directly in the version.lds. > > Signed-off-by: And

Re: [Libhugetlbfs-devel] [PATCH 11/14] make plt_extrasz library static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > elf32ppclinux.c |2 ++ > elf64ppc.c |2 ++ > libhugetlbfs_internal.h |3 +++ > 3 files changed, 7 insertio

Re: [Libhugetlbfs-devel] [PATCH 10/14] make __hugetlbfs_* flags library static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > None of these flags or debugging flags need to be exported. Move them all > library static: > > __hugetlbfs_debug > __hugetlbfs_hostname > __hugetlbfs_prefault > __hugetlbfs_verbose > > Signed-off-by: Andy Whitcro

Re: [Libhugetlbfs-devel] [PATCH 09/14] make libhugetlbfs_version file static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > version.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/version.c b/version.c > index 4070fe0..0ab886a 10

Re: [Libhugetlbfs-devel] [PATCH 08/14] make hpage_sizes file static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > hugeutils.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hugeutils.c b/hugeutils.c > index e053691..a319

Re: [Libhugetlbfs-devel] [PATCH 07/14] make dump_proc_pid_maps library static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > hugetlbfs.h |4 > libhugetlbfs_internal.h |4 > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --

Re: [Libhugetlbfs-devel] [PATCH 06/14] make print_valid_features/check_features_env_valid file static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > hugetlbfs.h |1 - > kernel-features.c |4 ++-- > libhugetlbfs_internal.h |3 +++ > 3 files changed, 5 inserti

Re: [Libhugetlbfs-devel] [PATCH 05/14] stop exporting kernel detection

2008-10-17 Thread Adam Litke
This comment is not specific to this patch, but the thought came into my head while reading this patch: I think developers (myself included) will sometimes get confused as to whether their new function should go into libhugetlbfs_internal.h, libhugetlbfs_privutils.h, hugetlbfs.h, or no header at a

Re: [Libhugetlbfs-devel] [PATCH 04/14] make hugetlb_counter_info/select_pool_counter file static

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > hugeutils.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hugeutils.c b/hugeutils.c > index 81a834a..e0

Re: [Libhugetlbfs-devel] [PATCH 03/14] stop exposing pool configuration in the main library

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> Acked-by: Adam Litke <[EMAIL PROTECTED]> > --- > Makefile |6 +++--- > hugetlbfs.h | 16 > hugeutils.c |6 +- > ini

Re: [Libhugetlbfs-devel] [PATCH 02/14] add a new private utilities library

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > diff --git a/tests/Makefile b/tests/Makefile > index e4e1ce2..f03ec68 100644 > --- a/tests/Makefile > +++ b/tests/Makefile > @@ -22,7 +22,7 @@ BADTOOLCHAIN = bad-toolchain.sh > > CFLAGS = -O2 -Wall -g > CPPFLAGS = -I.. > -LDLIBS = -ldl -

Re: [Libhugetlbfs-devel] [PATCH 01/14] move to a new library local idiom

2008-10-17 Thread Adam Litke
On Fri, 2008-10-17 at 17:14 +0100, Andy Whitcroft wrote: > Currently we have three types of function: > > file local -- marked static in the normal way, > library local -- external but prefixed with __lh_ > library exported -- external and listed in the library.lds file > > While the librar

[SPAM] 北辰星实用课程推荐(超值)

2008-10-17 Thread 曾生
2008年10月24-25日 EXCEL及PPT在管理中的高级应用 2000元/人 (深圳) 主讲:黄铭川,13年OFFICE教学经验 2008年11月08日 商务礼仪和职业形象 1200元/人(深圳) 主讲:陈冰,工商管理硕士 美国GEC特约讲师 2008年11月14-15日 《从实干迈向导师―TTT企业内训师特训营》 2200元/人(深圳) 主讲:夏世洪,TTT内训师专家讲师 2008年11月22日 出色的主管-卓越的中层管理者 1380元/

[Libhugetlbfs-devel] [PATCH] tests: check_linkhuge_tests must check each word size

2008-10-17 Thread Adam Litke
In run_tests.sh, the function check_linkhuge_tests() checks if it is safe to run the legacy linkhuge tests by examining the default linker script. But when binaries are compiled with a different word size, they use a different linker script. Therefore, we must make a separate decision for each wo

[Libhugetlbfs-devel] [PATCH 12/14] make direct_syscall library static

2008-10-17 Thread Andy Whitcroft
Note that as this is directly referenced in assembly we cannot trivially rename it to __lh_, nor would this make it easy to change back and forth. Take this as an exception and put it directly in the version.lds. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- version.lds |1 + 1 files

[Libhugetlbfs-devel] [PATCH 13/14] export getpagesizes/gethugepagesizes as V2.1 API

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- version.lds |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/version.lds b/version.lds index 0517ad3..1429230 100644 --- a/version.lds +++ b/version.lds @@ -15,3 +15,9 @@ HTLBFS_2.0 { get_huge_pages;

[Libhugetlbfs-devel] [PATCH 11/14] make plt_extrasz library static

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- elf32ppclinux.c |2 ++ elf64ppc.c |2 ++ libhugetlbfs_internal.h |3 +++ 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/elf32ppclinux.c b/elf32ppclinux.c index eb54411..24adaf1 100644 --- a/elf32

[Libhugetlbfs-devel] [PATCH 14/14] export hugetlbfs_find_path_for_size/hugetlbfs_unlinked_fd_for_size as V2.1 API

2008-10-17 Thread Andy Whitcroft
We have historically exported the default size versions of these functions. It makes sense therefore to export their new multi-pagesize versions as part of the V2.1 API. Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- version.lds |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)

[Libhugetlbfs-devel] [PATCH 10/14] make __hugetlbfs_* flags library static

2008-10-17 Thread Andy Whitcroft
None of these flags or debugging flags need to be exported. Move them all library static: __hugetlbfs_debug __hugetlbfs_hostname __hugetlbfs_prefault __hugetlbfs_verbose Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- libhugetlbfs_internal.h |4 1

[Libhugetlbfs-devel] [PATCH 06/14] make print_valid_features/check_features_env_valid file static

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugetlbfs.h |1 - kernel-features.c |4 ++-- libhugetlbfs_internal.h |3 +++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hugetlbfs.h b/hugetlbfs.h index 06c427f..fc23f9f 100644 --- a/hugetlbfs.h

[Libhugetlbfs-devel] [PATCH 03/14] stop exposing pool configuration in the main library

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- Makefile |6 +++--- hugetlbfs.h | 16 hugeutils.c |6 +- init_privutils.c |2 ++ libhugetlbfs_internal.h | 12 libhugetlbfs_privutils.h | 23

[Libhugetlbfs-devel] [PATCH 04/14] make hugetlb_counter_info/select_pool_counter file static

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugeutils.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugeutils.c b/hugeutils.c index 81a834a..e053691 100644 --- a/hugeutils.c +++ b/hugeutils.c @@ -122,7 +122,7 @@ struct hugetlb_pool_counter_info_t {

[Libhugetlbfs-devel] [PATCH 01/14] move to a new library local idiom

2008-10-17 Thread Andy Whitcroft
Currently we have three types of function: file local -- marked static in the normal way, library local -- external but prefixed with __lh_ library exported -- external and listed in the library.lds file While the library prefix works, it does not allow functions to trivially move from file

[Libhugetlbfs-devel] [PATCH 02/14] add a new private utilities library

2008-10-17 Thread Andy Whitcroft
Add a new private utilities library consisting of various useful helpers normally hidden within libhugetlbfs. Extend the library local marker idiom to include a private utilities marker __pu_. When we build libhugetlbfs these are forced local when building libhugetlbfs_privutils these are the onl

[Libhugetlbfs-devel] [PATCH 05/14] stop exporting kernel detection

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- Makefile |2 +- hugetlbfs.h |9 - kernel-features.c|1 + libhugetlbfs_privutils.h | 10 ++ 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile i

[Libhugetlbfs-devel] [PATCH 0/14] V1 library export cleanup

2008-10-17 Thread Andy Whitcroft
We are about to release 2.1 of the library. This is a good time to check that none of the old and particularly the new code is leaking any symbols that we will then have to keep supporting. Also we need to ensure that all of the new interfaces are actually exported in the V2.1 API. Needless to sa

[Libhugetlbfs-devel] [PATCH 08/14] make hpage_sizes file static

2008-10-17 Thread Andy Whitcroft
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 e053691..a319e89 100644 --- a/hugeutils.c +++ b/hugeutils.c @@ -51,7 +51,7 @@ static int hugepagesize_errno; /* = 0 */ #de

[Libhugetlbfs-devel] [PATCH 07/14] make dump_proc_pid_maps library static

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- hugetlbfs.h |4 libhugetlbfs_internal.h |4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hugetlbfs.h b/hugetlbfs.h index fc23f9f..6b64ee7 100644 --- a/hugetlbfs.h +++ b/hugetlbfs.h @@ -30,10 +30,6

[Libhugetlbfs-devel] [PATCH 09/14] make libhugetlbfs_version file static

2008-10-17 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft <[EMAIL PROTECTED]> --- version.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/version.c b/version.c index 4070fe0..0ab886a 100644 --- a/version.c +++ b/version.c @@ -1,3 +1,3 @@ #include "version.h" -const char libhugetlbfs_version[] =

[SPAM] -发…票…

2008-10-17 Thread 张经理
你好: 本公司以多家公司合作优惠代开/发/票 1:普通商品销售专用发/票; 2:运输业专用发/票(公路、内河统一货物运输专用发/票) 3:广告业专用发/票 4;建筑业专用发/票 5:其它服务业专用发/票{多种行业专用发/票} 如有需要,欢迎您与我联系: 张先生:13642347225 - This SF.Net e

Re: [Libhugetlbfs-devel] [PATCH] Allow individual installation of manual pages, utilities or library with linker scripts

2008-10-17 Thread Eric B Munson
On Thu, 16 Oct 2008, Mel Gorman wrote: > Currently the install target installs the library, utilities and the manual > pages. In the situation where the user has downloaded libhugetlbfs for > the utilities, it is relatively difficult to build utilities that use the > main system paths, but do not

Re: [Libhugetlbfs-devel] [PATCH] tests: libheapshrink.so is not installed with tests

2008-10-17 Thread Eric B Munson
On Thu, 16 Oct 2008, Adam Litke wrote: > Oops. We forgot to install libheapshrink.so alongside the tests. This will > cause the heapshrink tests to fail when they are run from an install directory > (away from the build directory. Add an install command to fix it. > > Signed-off-by: Adam Litke