On 8/22/23 11:03, Warner Losh wrote:
    Hmm, bug with linux-user as well, because here we should re-establish the 
reserved_va
    reservation.


... of the shared memory region we just detached? Right?

Correct.

On a related note, on FreeBSD is there any practical difference between

    PROT_NONE, MAP_ANON
and
    PROT_NONE, MAP_GUARD

for large memory regions?

I ask since FreeBSD doesn't have MAP_NORESERVE, which Linux uses to avoid allocation of gigabytes.


r~

Reply via email to