From 2bb568b4731a860296c8add480d5908ea4e4bfaf Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 16 Nov 2018 18:04:46 -0500 Subject: [PATCH] improve documentation about mapping count --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9f1b1ac..64eefdb 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ executables using glibc or musl: It can be necessary to substantially increase the `vm.max_map_count` sysctl to accomodate the large number of mappings caused by guard slabs and large -allocation guard regions. There will be a configuration option in `config.h` -for tuning the proportion of slabs to guard slabs too, since the default 1:1 -proportion makes the address space quite sparse. +allocation guard regions. The number of mappings can also be drastically +reduced via a significant increase to `CONFIG_GUARD_SLABS_INTERVAL` but the +feature has a low performance and memory usage cost so that isn't recommended. It can offer slightly better performance when integrated into the C standard library and there are other opportunities for similar hardening within C