mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-08-17 10:50:42 -04:00
use 1 slot for all extended size classes
This reduces memory usage and improves security in combination with the guard slab feature.
This commit is contained in:
parent
3952645318
commit
8bfa1a7dd5
2 changed files with 5 additions and 5 deletions
|
@ -589,10 +589,10 @@ retaining the isolation.
|
|||
|
||||
| size class | worst case internal fragmentation | slab slots | slab size | internal fragmentation for slabs |
|
||||
| - | - | - | - | - |
|
||||
| 20480 | 20.0% | 2 | 40960 | 0.0% |
|
||||
| 24576 | 16.66% | 2 | 49152 | 0.0% |
|
||||
| 28672 | 14.28% | 2 | 57344 | 0.0% |
|
||||
| 32768 | 12.5% | 2 | 65536 | 0.0% |
|
||||
| 20480 | 20.0% | 1 | 20480 | 0.0% |
|
||||
| 24576 | 16.66% | 1 | 24576 | 0.0% |
|
||||
| 28672 | 14.28% | 1 | 28672 | 0.0% |
|
||||
| 32768 | 12.5% | 1 | 32768 | 0.0% |
|
||||
| 40960 | 20.0% | 1 | 40960 | 0.0% |
|
||||
| 49152 | 16.66% | 1 | 49152 | 0.0% |
|
||||
| 57344 | 14.28% | 1 | 57344 | 0.0% |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue