lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9a1fcf10fef8490875a179d33dcf99e08b0d71ce.camel@physik.fu-berlin.de>
Date: Fri, 25 Jul 2025 23:09:29 +0200
From: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
To: Anthony Yznaga <anthony.yznaga@...cle.com>, sparclinux@...r.kernel.org, 
	davem@...emloft.net, andreas@...sler.com
Cc: linux-kernel@...r.kernel.org, agordeev@...ux.ibm.com, will@...nel.org, 
	ryan.roberts@....com, david@...hat.com, osalvador@...e.de
Subject: Re: [PATCH] sparc64: fix hugetlb for sun4u

Hi again,

On Fri, 2025-07-25 at 22:46 +0200, John Paul Adrian Glaubitz wrote:
> slbpacaflush (8M: 64):  Bad configuration: Atleast online 2 cpus are required
> straddle_4GB_static (8M: 64):   PASS
> huge_at_4GB_normal_below_static (8M: 64):       FAIL    Wrong address with MAP_FIXED normal
> huge_below_4GB_normal_above_static (8M: 64):    PASS
> map_high_truncate_2 (8M: 64):   PASS
> misaligned_offset (8M: 64):     PASS (inconclusive)
> truncate_above_4GB (8M: 64):    PASS
> brk_near_huge (8M: 64): Fatal glibc error: malloc.c:2601 (sysmalloc): assertion failed: 
> (...)
> fallocate_stress.sh (8M: 64):   PASS
> ********** TEST SUMMARY
> *                      8M            
> *                      32-bit 64-bit 
> *     Total testcases:     0    111   
> *             Skipped:     0      9   
> *                PASS:     0     57   
> *                FAIL:     0      1   
> *    Killed by signal:     0      1   
> *   Bad configuration:     0      4   
> *       Expected FAIL:     0      0   
> *     Unexpected PASS:     0      0   
> *    Test not present:     0     39   
> * Strange test result:     0      0   
> **********
> root@...erin:/home/glaubitz/libhugetlbfs#
> 
> Tested-by: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>

Ah, I noticed that huge_at_4GB_normal_below_static fails.

Does that test require at least 4 GB of RAM? If yes, it's not surprising
the test fails as this machine have only 2 GB of physical memory and just
1 GB of swap space:

root@...erin:/home/glaubitz/libhugetlbfs# free -h
               total        used        free      shared  buff/cache   available
Mem:           2.0Gi       591Mi       896Mi       1.1Mi       792Mi       1.4Gi
Swap:          976Mi       3.0Mi       973Mi
root@...erin:/home/glaubitz/libhugetlbfs#

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ