diff options
author | Brad Smith <brad@comstyle.com> | 2025-06-01 04:24:12 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-06-01 19:01:07 -0700 |
commit | 35c1d592cd11429e402501df3ad68bcd0fb86bef (patch) | |
tree | f77945fab83b3fb7fbbbe99a132e1e9411b9b1c3 /builtin/commit.c | |
parent | 7014b55638da979331baf8dc31c4e1d697cf2d67 (diff) |
builtin/gc: correct physical memory detection for OpenBSD / NetBSD
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 <brad@comstyle.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions