libhugetlbfs failed with "Address is not hugepage / Heap not on hugepages" on X s390x

Bug #1864650 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on s390x node with Xenial kernel (4.4.0-1030.35 - fips and 4.4.0-175)

Test failed with:
  LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes malloc (1024K: 64): FAIL Address is not hugepage
  HUGETLB_RESTRICT_EXE=unknown:malloc LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes malloc (1024K: 64): FAIL Address is not hugepage
  LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes malloc_manysmall (1024K: 64): FAIL Address is not hugepage
  GLIBC_TUNABLES=glibc.malloc.tcache_count=0 LD_PRELOAD=libhugetlbfs.so HUGETLB_MORECORE=yes heapshrink (1024K: 64): FAIL Heap not on hugepages
  GLIBC_TUNABLES=glibc.malloc.tcache_count=0 LD_PRELOAD=libhugetlbfs.so libheapshrink.so HUGETLB_MORECORE=yes heapshrink (1024K: 64): FAIL Heap not on hugepages

This is not a regression as these failures exist for a while.

Po-Hsu Lin (cypressyew)
tags: added: libhugetlbfs
tags: added: 4.4 s390x sru-20200217
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With on openstack s390x with X-4.4.0-244.278, there are 5 test cases failing with "Address is not hugepage / Heap not on hugepages" as well

HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so malloc (1024K: 64): FAIL Address is not hugepage
HUGETLB_MORECORE=yes HUGETLB_RESTRICT_EXE=unknown:malloc LD_PRELOAD=libhugetlbfs.so malloc (1024K: 64): FAIL Address is not hugepage
HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so malloc_manysmall (1024K: 64): FAIL Address is not hugepage
GLIBC_TUNABLES=glibc.malloc.tcache_count=0 HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so heapshrink (1024K: 64): FAIL Heap not on hugepages
GLIBC_TUNABLES=glibc.malloc.tcache_count=0 HUGETLB_MORECORE=yes LD_PRELOAD=libhugetlbfs.so libheapshrink.so heapshrink (1024K: 64): FAIL Heap not on hugepages

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.