summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Memory/RegionTree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Kernel/Memory/RegionTree.h b/Kernel/Memory/RegionTree.h
index ccd42a8bdf..8fe7f8ec8b 100644
--- a/Kernel/Memory/RegionTree.h
+++ b/Kernel/Memory/RegionTree.h
@@ -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);