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
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..
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
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
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
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
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
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 --
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
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
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
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
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 -
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
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元/
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
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
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;
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
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(-)
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
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
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
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 {
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
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
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
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
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
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
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[] =
你好: 本公司以多家公司合作优惠代开/发/票
1:普通商品销售专用发/票;
2:运输业专用发/票(公路、内河统一货物运输专用发/票)
3:广告业专用发/票
4;建筑业专用发/票
5:其它服务业专用发/票{多种行业专用发/票}
如有需要,欢迎您与我联系:
张先生:13642347225
-
This SF.Net e
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
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
34 matches
Mail list logo