[PATCH] D56621: [hwasan] Madvise away thread aux data
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 18 18:04:30 PST 2019
eugenis added a comment.
This one is hard to test reliably for RSS change, because it only affect thread exit, and, generally, we don't know how much memory the platform thread support would release in that event, and it might even be a different amount for different threads (some kind of stack caching, etc).
We don't rely on ReleaseMemoryPagesToOS clearing memory here, so this an almost side-effect-free optimization.
PTAL.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56621/new/
https://reviews.llvm.org/D56621
More information about the llvm-commits
mailing list