Further detail arenas.

This commit is contained in:
inference 2023-06-13 12:34:22 +01:00
parent 9529ff5823
commit 7675d4d0a0
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -1,6 +1,6 @@
= GrapheneOS hardened_malloc = GrapheneOS hardened_malloc
Version: 0.1.0.9 Version: 0.1.0.10
This documentation contains instructions to use This documentation contains instructions to use
@ -29,10 +29,15 @@ of guard pages.
`$ make <arguments>` `$ make <arguments>`
`CONFIG_N_ARENA=n` can be adjusted to increase parallel performance at the expense of memory usage, `CONFIG_N_ARENA=n` can be adjusted to increase parallel performance at the expense of memory usage,
or decrease memory usage at the expense of parallel performance, where `n` is an integer; higher or decrease memory usage at the expense of parallel performance, where `n` is an integer. Higher
values prefer parallel performance, lower values prefer lower memory usage. For low-memory systems, values prefer parallel performance, lower values prefer lower memory usage. The number of arenas has
`VARIANT=light` can be used to compile the light variant of hardened_malloc, which sacrifices some no impact on the security properties of hardened_malloc.
security for much less memory usage.
* Minimum number of arenas: 1
* Maximum number of arenas: 256
For low-memory systems, `VARIANT=light` can be used to compile the light variant of hardened_malloc,
which sacrifices some security for much less memory usage.
== Copy Compiled hardened_malloc Library == Copy Compiled hardened_malloc Library