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

2012-11-08 Thread Eric B Munson
On Thu, 08 Nov 2012, Gerald Schaefer wrote: > This patch series adds support for linking libhugetlbfs with the > "--hugetlbfs-align" option on s390. The deprecated "--hugetlbfs-link" > option will not be supported on s390, so no custom linker scripts are > provided. To allow building w/o linker sc

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

2012-11-08 Thread Eric B Munson
On Thu, 08 Nov 2012, Gerald Schaefer wrote: > This patch fixes a warning about an empty address range that will be issued > when the offset in prepare_segment() is smaller than page_size. In that case, > check_range_empty() would be called with len == 0 (the page_size down-aligned > offset), trigg

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

2012-11-08 Thread Gerald Schaefer
This patch introduces a CUSTOM_LDSCRIPTS variable in the Makefile as preparation for enabling libhugetlbfs linking on architectures w/o providing (deprecated) custom linker scripts. Setting it to "no" will prevent building and running the test cases requiring custom linker scripts, and issue an err

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

2012-11-08 Thread Gerald Schaefer
This patch series adds support for linking libhugetlbfs with the "--hugetlbfs-align" option on s390. The deprecated "--hugetlbfs-link" option will not be supported on s390, so no custom linker scripts are provided. To allow building w/o linker scripts, a CUSTOM_LDSCRIPTS variable is introduced to t

[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: Gerald Schaefer --- HOWTO

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

2012-11-08 Thread Gerald Schaefer
This patch fixes a warning about an empty address range that will be issued when the offset in prepare_segment() is smaller than page_size. In that case, check_range_empty() would be called with len == 0 (the page_size down-aligned offset), triggering the warning. This is fixed by checking the down