diff options
| author | Shell <[email protected]> | 2024-11-28 17:53:33 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-02-25 11:26:30 +0800 |
| commit | 9386411d13d8f9085eebc1ac7515f008685ab447 (patch) | |
| tree | 8cdab2899c9781f45dcc28d3bbb20d983ce714bd /documentation/3.kernel/kernel-porting | |
| parent | 3fdb94096794be237e52abff0fb4ee150efeee79 (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 'documentation/3.kernel/kernel-porting')
0 files changed, 0 insertions, 0 deletions
