From ccd0ceed63c336231e9376e49a5aadd6d9d7ebc6 Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 30 Jan 2024 17:36:25 +0000 Subject: [PATCH] Clarify arena count must be non-negative integer --- documentation/hardened_malloc.xhtml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/documentation/hardened_malloc.xhtml b/documentation/hardened_malloc.xhtml index 878a3a6..d5c18a4 100644 --- a/documentation/hardened_malloc.xhtml +++ b/documentation/hardened_malloc.xhtml @@ -1,7 +1,7 @@ - + @@ -74,11 +74,11 @@

$ make <arguments>

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 values prefer parallel performance, whereas lower values prefer lower - memory usage. Note that having too many arenas may cause memory fragmentation - and decrease system performance. The number of arenas has no impact on the - security properties of hardened_malloc.

+ expense of parallel performance, where n is a + non-negative integer. Higher values prefer parallel performance, whereas lower + values prefer lower memory usage. Note that having too many arenas may cause + memory fragmentation and decrease system performance. The number of arenas has + no impact on the security properties of hardened_malloc.

Minimum