mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-12-11 17:04:32 -05:00
document relatively high performance cost of MPK
This commit is contained in:
parent
4cd61e281d
commit
e985afe0e1
@ -67,7 +67,9 @@ The available configuration options are the following:
|
||||
* `CONFIG_SEAL_METADATA`: `true` or `false` (default) to control whether Memory
|
||||
Protection Keys are used to disable access to all writable allocator state
|
||||
outside of the memory allocator code. It's currently disabled by default due
|
||||
to being extremely experimental and needing some minor optimization work.
|
||||
to being extremely experimental and a significant performance cost for this
|
||||
use case on current generation hardware, which may become drastically lower
|
||||
in the future.
|
||||
|
||||
Compile-time configuration is available in the `config.h` file for controlling
|
||||
the balance between security and performance / memory usage. By default, all
|
||||
|
Loading…
Reference in New Issue
Block a user