update default slab quarantine sizes in README
This commit is contained in:
parent
dea2788539
commit
33b1a2740e
10
README.md
10
README.md
@ -140,16 +140,18 @@ The following boolean configuration options are available:
|
|||||||
The following integer configuration options are available. Proper sanity checks
|
The following integer configuration options are available. Proper sanity checks
|
||||||
for the chosen values are not written yet, so use them at your own peril:
|
for the chosen values are not written yet, so use them at your own peril:
|
||||||
|
|
||||||
* `CONFIG_SLAB_QUARANTINE_RANDOM_LENGTH`: `0` (default) to control the number
|
* `CONFIG_SLAB_QUARANTINE_RANDOM_LENGTH`: `1` (default) to control the number
|
||||||
of slots in the random array used to randomize reuse for small memory
|
of slots in the random array used to randomize reuse for small memory
|
||||||
allocations. This sets the length for the largest size class (currently
|
allocations. This sets the length for the largest size class (currently
|
||||||
16384) and the quarantine length for smaller size classes is scaled to match
|
16384) and the quarantine length for smaller size classes is scaled to match
|
||||||
the total memory of the quarantined allocations.
|
the total memory of the quarantined allocations (1 becomes 1024 for 16 byte
|
||||||
* `CONFIG_SLAB_QUARANTINE_QUEUE_LENGTH`: `0` (default) to control the number of
|
allocations).
|
||||||
|
* `CONFIG_SLAB_QUARANTINE_QUEUE_LENGTH`: `1` (default) to control the number of
|
||||||
slots in the queue used to delay reuse for small memory allocations. This
|
slots in the queue used to delay reuse for small memory allocations. This
|
||||||
sets the length for the largest size class (currently 16384) and the
|
sets the length for the largest size class (currently 16384) and the
|
||||||
quarantine length for smaller size classes is scaled to match the total
|
quarantine length for smaller size classes is scaled to match the total
|
||||||
memory of the quarantined allocations.
|
memory of the quarantined allocations (1 becomes 1024 for 16 byte
|
||||||
|
allocations).
|
||||||
* `CONFIG_GUARD_SLABS_INTERVAL`: `1` (default) to control the number of slabs
|
* `CONFIG_GUARD_SLABS_INTERVAL`: `1` (default) to control the number of slabs
|
||||||
before a slab is skipped and left as an unused memory protected guard slab
|
before a slab is skipped and left as an unused memory protected guard slab
|
||||||
* `CONFIG_GUARD_SIZE_DIVISOR`: `2` (default) to control the maximum size of the
|
* `CONFIG_GUARD_SIZE_DIVISOR`: `2` (default) to control the maximum size of the
|
||||||
|
Loading…
Reference in New Issue
Block a user