RFR: 8268014: Build failure on SUSE Linux Enterprise Server 11.4 (s390x) due to 'SYS_get_mempolicy' was not declared [v2]

Jie Fu jiefu at openjdk.java.net
Tue Jun 1 11:21:41 UTC 2021


> Hi all,
> 
> Please review the patch which fixes the build failure on SUSE Linux Enterprise Server 11.4 (s390x).
> 
> @dholmes-ora had reminded me of this bug in [1].
> But I missed the fact that ZGC is currently only built on x64 and aarch64.
> And I'm sorry for this breakage.
> 
> The sys_call numbers of get_mempolicy for different platforms are just copied from the libnuma source code [2].
> 
> Thanks.
> Best regards,
> Jie
> 
> 
> [1] https://github.com/openjdk/jdk/pull/4205#discussion_r639708293
> [2] https://github.com/numactl/numactl/blob/master/syscall.c

Jie Fu has updated the pull request incrementally with one additional commit since the last revision:

  Check & try to use __NR_get_mempolicy first

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4277/files
  - new: https://git.openjdk.java.net/jdk/pull/4277/files/9fc63d7e..e7c7d565

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4277&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4277&range=00-01

  Stats: 17 lines in 1 file changed: 5 ins; 1 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4277.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4277/head:pull/4277

PR: https://git.openjdk.java.net/jdk/pull/4277


More information about the hotspot-runtime-dev mailing list