mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-01 09:14:38 +03:00
minor comment
This commit is contained in:
parent
76b631254d
commit
157b201004
1 changed files with 1 additions and 0 deletions
|
@ -433,6 +433,7 @@ int _mi_prim_commit(void* start, size_t size, bool* is_zero) {
|
|||
|
||||
#if defined(__APPLE__)
|
||||
// MADV_FREE_REUSABLE is paired with MADV_FREE_REUSE for accounting
|
||||
// if this memory was not marked as MADV_FREE_REUSABLE, this call is noop
|
||||
madvise(start, size, MADV_FREE_REUSE);
|
||||
#endif
|
||||
return err;
|
||||
|
|
Loading…
Add table
Reference in a new issue