Page MenuHomeFreeBSD

arm64: improve UVA layout for 32bit processes
ClosedPublic

Authored by kib on Nov 3 2023, 5:01 AM.
Tags
None
Referenced Files
F86143131: D42451.id129723.diff
Sun, Jun 16, 1:58 AM
F86128923: D42451.id129673.diff
Sat, Jun 15, 8:35 PM
F86100541: D42451.diff
Sat, Jun 15, 11:17 AM
Unknown Object (File)
Sun, Jun 2, 11:32 PM
Unknown Object (File)
Wed, May 22, 3:15 PM
Unknown Object (File)
May 11 2024, 8:57 PM
Unknown Object (File)
May 6 2024, 11:37 AM
Unknown Object (File)
May 3 2024, 11:32 PM
Subscribers

Details

Summary

Add compat.aarch32 tunables for maxssiz, maxdsiz, and maxvmem.
Set the default values same as for amd64.
Fix freebsd32 sysentvec on arm64 to provide sv_maxssiz, and sv_fixlimit.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Nov 3 2023, 5:01 AM

I have tested this patch (applied to 13.2-RELEASE) and find that it works.
With this patch applied, many armv7 ports that previously OOM'ed now build fine in armv7 jails on arm64.

See PR #274705 for some discussion on the background.

markj added inline comments.
sys/arm64/arm64/elf32_machdep.c
65
66
This revision is now accepted and ready to land.Nov 4 2023, 4:15 PM
This revision was automatically updated to reflect the committed changes.