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
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
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
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
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
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