mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
Kernel: Add a little explainer comment above RegionTree
This commit is contained in:
parent
8b01789ec4
commit
9e1da1f4f5
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ enum class RandomizeVirtualAddress {
|
||||||
Yes,
|
Yes,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// RegionTree represents a virtual address space.
|
||||||
|
// It is used by MemoryManager for kernel VM and by AddressSpace for user VM.
|
||||||
|
// Regions are stored in an intrusive data structure and there are no allocations when interacting with it.
|
||||||
class RegionTree {
|
class RegionTree {
|
||||||
AK_MAKE_NONCOPYABLE(RegionTree);
|
AK_MAKE_NONCOPYABLE(RegionTree);
|
||||||
AK_MAKE_NONMOVABLE(RegionTree);
|
AK_MAKE_NONMOVABLE(RegionTree);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue