-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrub deallocations before reallocation. #609
base: main
Are you sure you want to change the base?
Conversation
So I ran a single pass of mimalloc-bench on this
So m0 is not mitigations, m12 is everything except free scrub and guarded mempcy, m13 has free scrub, and sn-chk is all the checks. This looks a bit pricey in places to turn on always. But worth having as an option. |
|
Sadly for Larson it goes slower. But I think Larson is mostly untouched allocations below the size of a page. |
This adds an additional mitigation to scrub allocations before they are reallocated. We should do perf analysis before we decide if this is an always on mitigation.