NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/59314 (t_memfd_create:seal_grow is failing)



The following reply was made to PR kern/59314; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: riastradh%NetBSD.org@localhost
Subject: Re: kern/59314 (t_memfd_create:seal_grow is failing)
Date: Fri, 18 Apr 2025 00:43:01 +0700

     Date:        Thu, 17 Apr 2025 15:55:24 +0000 (UTC)
     From:        riastradh%NetBSD.org@localhost
     Message-ID:  <20250417155524.B8B2A1A923D%mollari.NetBSD.org@localhost>
 
   | Synopsis: t_memfd_create:seal_grow is failing
   |
   | Responsible-Changed-From-To: port-sparc64-maintainer->kern-bug-people
   | Responsible-Changed-By: riastradh%NetBSD.org@localhost
   | Responsible-Changed-When: Thu, 17 Apr 2025 15:55:24 +0000
   | Responsible-Changed-Why:
   | Not sparc64-specific -- also failing on alpha:
 
 This is (probably) not a kernel bug either, but a test bug.
 
 It looks as if the test is assuming that the page size (and
 hence minimum possible mmap() result, whatever is requested)
 is 4K, what sparc64 and alpha have in common is 8K pages.
 
 Make "write_buf" in that test be 16K (so sizeof(write_buf)/2
 is still not less than a page) and try them again.
 
 kre
 
 (I have no sparcs any more, no emulators either, and my alpha
 has been defunct for decades, though it is still sitting there...)
 so I can't easily test this myself.
 


Home | Main Index | Thread Index | Old Index