From: Junio C Hamano Date: Mon, 02 Jun 2025 02:00:17 GMT Subject: Re: [PATCH] builtin/gc: correct physical memory detection for OpenBSD / NetBSD Message-ID: In-Reply-To: <87h60z6i5o.fsf@gmail.com> Collin Funk writes: > Hi Brad, > > You wrote: > >> OpenBSD / NetBSD use HW_PHYSMEM64 to detect the amount of physical >> memory in a system. HW_PHYSMEM will not provide the correct amount >> on a system with >=4GB of memory. >> >> Signed-off-by: Brad Smith >> --- >> builtin/gc.c | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) > > I confirm this patch is correct. > > Reviewed-by: Collin Funk Thanks (also thanks for the online_cpus() one).