[PATCH] D146336: [docs][scudo] Add information about M_PURGE_ALL.

Christopher Ferris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 13:36:50 PDT 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0433abc8e037: [docs][scudo] Add information about M_PURGE_ALL. (authored by cferris).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146336/new/

https://reviews.llvm.org/D146336

Files:
  llvm/docs/ScudoHardenedAllocator.rst


Index: llvm/docs/ScudoHardenedAllocator.rst
===================================================================
--- llvm/docs/ScudoHardenedAllocator.rst
+++ llvm/docs/ScudoHardenedAllocator.rst
@@ -265,7 +265,16 @@
 |                           | the interval to the minimum and maximum value as      |
 |                           | specified at compile time).                           |
 +---------------------------+-------------------------------------------------------+
-| M_PURGE                   | Forces immediate memory reclaiming (value is unused). |
+| M_PURGE                   | Forces immediate memory reclaiming but does not       |
+|                           | reclaim everything. For smaller size classes, there   |
+|                           | is still some memory that is not reclaimed due to the |
+|                           | extra time it takes and the small amount of memory    |
+|                           | that can be reclaimed.                                |
+|                           | The value is ignored.                                 |
++---------------------------+-------------------------------------------------------+
+| M_PURGE_ALL               | Same as M_PURGE but will force release all possible   |
+|                           | memory regardless of how long it takes.               |
+|                           | The value is ignored.                                 |
 +---------------------------+-------------------------------------------------------+
 | M_MEMTAG_TUNING           | Tunes the allocator's choice of memory tags to make   |
 |                           | it more likely that a certain class of memory errors  |


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146336.507490.patch
Type: text/x-patch
Size: 1694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/e7d0f848/attachment.bin>


More information about the llvm-commits mailing list