You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addrspace_free function in runtime/mem_linux.c checks large chunks of memory using
mincore. mincore returns 0 if the memory is accessible, ENOMEM if some of the memory is
unmapped. The current code seems to think that ENOMEM is returned if all of the memory
is unmapped, but that is not correct. ENOMEM is returned if only some of the memory is
unmapped. Since we normally map only some of the memory, this means that addrspace_free
does not actually return whether the address space is free.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: