Index: llvm/docs/ScudoHardenedAllocator.rst =================================================================== --- llvm/docs/ScudoHardenedAllocator.rst +++ llvm/docs/ScudoHardenedAllocator.rst @@ -167,7 +167,9 @@ | | | | the actual deallocation of chunks. Lower value | | | | | may reduce memory usage but decrease the | | | | | effectiveness of the mitigation; a negative | -| | | | value will fallback to the defaults. | +| | | | value will fallback to the defaults. Setting | +| | | | *both* this and ThreadLocalQuarantineSizeKb to | +| | | | zero will disable the quarantine entirely. | +-----------------------------+----------------+----------------+------------------------------------------------+ | QuarantineChunksUpToSize | 2048 | 512 | Size (in bytes) up to which chunks can be | | | | | quarantined. | @@ -175,7 +177,9 @@ | ThreadLocalQuarantineSizeKb | 1024 | 256 | The size (in Kb) of per-thread cache use to | | | | | offload the global quarantine. Lower value may | | | | | reduce memory usage but might increase | -| | | | contention on the global quarantine. | +| | | | contention on the global quarantine. Setting | +| | | | *both* this and QuarantineSizeKb to zero will | +| | | | disable the quarantine entirely. | +-----------------------------+----------------+----------------+------------------------------------------------+ | DeallocationTypeMismatch | true | true | Whether or not we report errors on | | | | | malloc/delete, new/free, new/delete[], etc. |