This revision is superseded by https://reviews.llvm.org/D140320
Details
- Reviewers
- None
Diff Detail
Event Timeline
When uploading patches to Phabricator via web interface, it's recommended that you include as much context as possible (by using e.g. git show HEAD -U999999 > mypatch.patch), see https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface for more details.
compiler-rt/lib/scudo/standalone/release.h | ||
---|---|---|
85 | We support partial page release which only releases paritial memory groups but we haven't supported allocating page map only for subrange of region (I'm working on that). Which means, we may prefault more pages than necessary. As discussed with Luke (Luke Nicholson), Fuchsia will still benefit from the prefault even with those unnecessary pages. I'm wondering if we can do this for Fuchsia only now. I think we will end up prefault the page map here so I'm inclined to do that for all platforms after we can allocate page map for subrange of region I know it only does real prefault work on Fuchsia now but the code structure may give the impression that we will always prefault the pages. What do you think? |
compiler-rt/lib/scudo/standalone/release.h | ||
---|---|---|
85 | Are you suggesting we pass the flag "MAP_PRECOMMIT" only when running on Fuchsia? If so, what's the pattern for doing that? #ifdef SCUDO_FUCHSIA ... #endif |
compiler-rt/lib/scudo/standalone/release.h | ||
---|---|---|
85 | Yes, I may suggest using SCUDO_FUCHSIA now. BTW, can you also share some performance number before/after this change? |
Uppercase U for consistency