1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:17:45 +00:00

Kernel: Add a little explainer comment above RegionTree

This commit is contained in:
Andreas Kling 2022-04-03 21:59:48 +02:00
parent 8b01789ec4
commit 9e1da1f4f5

View file

@ -20,6 +20,9 @@ enum class RandomizeVirtualAddress {
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 {
AK_MAKE_NONCOPYABLE(RegionTree);
AK_MAKE_NONMOVABLE(RegionTree);