bsd-user: Catch up to run-time reserved_va math
authorWarner Losh <imp@bsdimp.com>
Fri, 7 Jun 2024 04:01:41 +0000 (22:01 -0600)
committerWarner Losh <imp@bsdimp.com>
Sun, 9 Jun 2024 16:30:25 +0000 (10:30 -0600)
commitcb4c259052cbc5dd04c17d963c789360cb8fe340
tree59026e9f0a9037ce6c8880ae563a0811cdab4050
parentba379542bf026313d3c6aa1b46da3f2520927a4f
bsd-user: Catch up to run-time reserved_va math

Catch up to linux-user's 8f67b9c694d013c13397556a2f7828b57293, and
95059f9c313a by Richard Henderson which made reserved_va a run-time
calculation, defaulting to nothing except in the case of 64-bit host
32-bit target. Also include the adjustment of the comment heading that
work submitted in the same patch stream. Since this is a direct copy,
squash it into one patch rather than follow the Linux evolution since
breaking this down further at this point doesn't make sense for this
"new code".

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/main.c