diff options
| author | Chi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com> | 2025-04-20 20:24:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-20 14:24:22 +0200 |
| commit | 28d12f6785997362743ea65171d1d7de8e885e2c (patch) | |
| tree | 5ac621e4f5a663e1e56ec8727cafe862e137281c /src/include | |
| parent | e7113b228fa58565d366c105266c47de2148177b (diff) | |
| download | box64-28d12f6785997362743ea65171d1d7de8e885e2c.tar.gz box64-28d12f6785997362743ea65171d1d7de8e885e2c.zip | |
Merge `mmapmem` into `mapallmem` (#2550)
This commit removes the separate `mmapmem` red-black tree and
merges its into `mapallmem`, reducing overall memory usage.
To distinguish memory regions that were previously tracked
separately in `mmapmem`,
we now use a new `mem_flag_t` bitmask enum in the data field
of `mapallmem`:
MEM_ALLOCATED = 1 // allocated
MEM_RESERVED = 2 // reserved
MEM_MMAP = 3 // allocated via mmap()
Resolves #2546Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions