[Bug 213012] Clarifying what hw.physmem returns

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Nov 2025 18:50:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213012

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
From sysctl(8) these five appear to be 64-bit integers on a 64-bit system:

kern.maxvnodes
kern.hostid
hw.physmem
hw.usermem
hw.realmem

They're actually CTLTYPE_ULONG so it is not correct to document them as
uint64_t.

-- 
You are receiving this mail because:
You are on the CC list for the bug.