physmem on FreeBSD, NetBSD

Bruno Haible via Gnulib discussion list <[email protected]> Wed, 15 Jul 2026 00:17:27 +0200
Newsgroups gmane.comp.lib.gnulib.bugs
Message-ID <4530541.fEcJ0Lxnt5@cagnes>
The 'physmem' module could use some improvement on FreeBSD and NetBSD:

physmem_claimable (1.0) should, in a VM with 32 GB RAM with few
running processes, be normally around 29 GB or 30 GB. This is the
case on Linux, OpenBSD, Solaris 11.

But on FreeBSD 15.1, it returns 8 GiB only.

And on NetBSD 10.0, it returns 4 GiB only.

Improvements welcome!

Bruno