[Libhugetlbfs-devel] [PATCH] task-size-overrun: fix problem with dynamic pagetable upgrade on s390x

2013-03-07 Thread Gerald Schaefer
t strategy that means that find_task_size() would loop for a very long time, from 2^42 to 2^53. To fix this, increase addr in the loop for s390x as soon as we exceed the 2^42 limit. Signed-off-by: Gerald Schaefer --- tests/task-size-overrun.c | 4 1 file changed, 4 insertions(+) diff --git a/

Re: [Libhugetlbfs-devel] [PATCH] Terminate path with '\0' in find_mounts()

2013-03-01 Thread Gerald Schaefer
On Thu, 28 Feb 2013 09:36:36 -0800 Eric B Munson wrote: > On 2013-02-28 09:00, Gerald Schaefer wrote: > > On Tue, 26 Feb 2013 14:33:54 +0100 > > Gerald Schaefer wrote: > > > >> commit 8c075e33 introduced a regression. The previous sscanf() > >> implicitl

Re: [Libhugetlbfs-devel] [PATCH] Terminate path with '\0' in find_mounts()

2013-03-01 Thread Gerald Schaefer
On Thu, 28 Feb 2013 09:36:36 -0800 Eric B Munson wrote: > On 2013-02-28 09:00, Gerald Schaefer wrote: > > On Tue, 26 Feb 2013 14:33:54 +0100 > > Gerald Schaefer wrote: > > > >> commit 8c075e33 introduced a regression. The previous sscanf() > >> implicitl

[Libhugetlbfs-devel] [PATCH] Terminate path with '\0' in find_mounts()

2013-02-26 Thread Gerald Schaefer
t; Signed-off-by: Gerald Schaefer --- hugeutils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hugeutils.c b/hugeutils.c index 6a4dc85..53a7fbd 100644 --- a/hugeutils.c +++ b/hugeutils.c @@ -665,6 +665,7 @@ static void find_mounts(void)

Re: [Libhugetlbfs-devel] [PATCH 1/2] ARM support.

2012-12-13 Thread Gerald Schaefer
On Wed, 12 Dec 2012 18:10:02 + Steve Capper wrote: > This patch adds support for the ARM architecture to libhugetlbfs. > > We do not add the xBT/xBDT style linker scripts as these have been > deprecated in favour of adjusting the page sizes via command line > parameter to ld. Have you consi

[Libhugetlbfs-devel] [PATCH 1/2] Make custom linker scripts configurable

2012-11-08 Thread Gerald Schaefer
linking tests. This means that the default for running run_tests.py directly is now changed to skip the old-style linking tests. Signed-off-by: Gerald Schaefer --- Makefile | 17 - ld.hugetlbfs | 11 +++ tests/Makefile | 10 ++ tests/run_tests.

[Libhugetlbfs-devel] [PATCH 0/2] Add support for libhugetlbfs linking on s390

2012-11-08 Thread Gerald Schaefer
ble is introduced to the build process, which will skip the respective test cases. Gerald Schaefer (2): Make custom linker scripts configurable Add --hugetlbfs-align linking support on s390 HOWTO | 7 --- Makefile | 21 +++-- ld.hugetlbfs |

[Libhugetlbfs-devel] [PATCH 2/2] Add --hugetlbfs-align linking support on s390

2012-11-08 Thread Gerald Schaefer
This patch adds support for libhugetlbfs linking on s390 for binutils >= 2.17 with the --hugetlbfs-align option. No custom linker scripts are provided, so CUSTOM_LDSCRIPTS is set to "no" and the deprecated --hugetlbfs-link option is not supported on s390. Signed-off-by: Ge

[Libhugetlbfs-devel] [PATCH] Fix WARNING: Unable to verify address range

2012-11-08 Thread Gerald Schaefer
down-aligned offset instead of the offset itself before calling check_range_empty(). Signed-off-by: Gerald Schaefer --- elflink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elflink.c b/elflink.c index e92d2dd..b746b26 100644 --- a/elflink.c +++ b/elflink.c @@ -872,7 +872,7