From 85cab6cbeb5b45473d98ef8f8e295c353caa9d99 Mon Sep 17 00:00:00 2001 From: inference Date: Mon, 12 Jun 2023 17:38:34 +0100 Subject: [PATCH] Improve arenas explanation. --- security/hardened_malloc.adoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/security/hardened_malloc.adoc b/security/hardened_malloc.adoc index a320bd0..d60be7b 100644 --- a/security/hardened_malloc.adoc +++ b/security/hardened_malloc.adoc @@ -1,6 +1,6 @@ = GrapheneOS hardened_malloc -Version: 0.0.0.6 +Version: 0.0.0.7 This documentation contains instructions to use @@ -27,9 +27,10 @@ of guard pages. `make ` `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. 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. +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, +`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