Hi!

On Linux, Does MADV_DONTNEED (used in ReleaseMemoryPagesToOS) actually mark the 
pages as free to be overwritten with zeroes? It seems that the POSIX 
explanation of POSIX_MADV_DONTNEED means something different ("the system can 
page the memory out, but not discard the content"). Darwin and BSD understand 
MADV_DONTNEED in the POSIX sense, which means that ReleaseMemoryPagesToOS 
doesn't really release any memory on those systems. Does it make sense to use 
some other mechanism of releasing the pages?

Kuba

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to