mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-24 00:41:11 -04:00
at a final spacing class of 1 slot size classes
This commit is contained in:
parent
7a89a7b8c5
commit
086eb1fee4
3 changed files with 27 additions and 17 deletions
|
@ -12,7 +12,8 @@ size_classes = [
|
|||
5120, 6144, 7168, 8192,
|
||||
10240, 12288, 14336, 16384,
|
||||
20480, 24576, 28672, 32768,
|
||||
40960, 49152, 57344, 65536
|
||||
40960, 49152, 57344, 65536,
|
||||
81920, 98304, 114688, 131072,
|
||||
]
|
||||
|
||||
size_class_slots = [
|
||||
|
@ -25,7 +26,8 @@ size_class_slots = [
|
|||
8, 8, 8, 8,
|
||||
6, 5, 4, 4,
|
||||
2, 2, 2, 2,
|
||||
2, 2, 2, 2
|
||||
1, 1, 1, 1,
|
||||
1, 1, 1, 1,
|
||||
]
|
||||
|
||||
fragmentation = [100 - 1 / 16 * 100]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue