diff options
| author | Shell <[email protected]> | 2024-11-28 17:53:33 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-03-10 22:45:27 +0800 |
| commit | c188ef2b4dccd1c16e5dfd31af33ef695c73dcd4 (patch) | |
| tree | ac050591b83c517ed2707d5e6816f59d535f53fb /src | |
| parent | f51fd19d0a4e0d4381700891645813af6b556386 (diff) | |
feat: mm: added affinity pages allocator
This patch introduces a tagged pages allocator to address the existing problems
of page aliasing on specific platforms and the requirement of page coloring.
It implements an affinity-id aware page manager by separating the runtime page
list into two types: a normal single linked-list and a multi-dimensional affinity-list.
Changes:
- Introduced tagged pages allocator and managing algorithm for affinity pages list
- Modified components to support affinity-id list management
- Updated page allocation and freeing functions to handle tagged pages
- Added configuration options for page affinity block size and debugging
- Modified mmap and elf loading to respect affinity settings
- Enhanced page list management to support multi-dimensional affinity-list
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
