Pārlūkot izejas kodu

[Pal/Linux-SGX] Fix comment on VMA list heap_vma

Previously, the comment incorrectly stated that the heap_vma list tracks
free regions. In fact, this list tracks used/reserved regions.
Thomas Knauth 4 gadi atpakaļ
vecāks
revīzija
17091642c9
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      Pal/src/host/Linux-SGX/enclave_pages.c

+ 1 - 2
Pal/src/host/Linux-SGX/enclave_pages.c

@@ -12,8 +12,7 @@ static unsigned long pgsz = PRESET_PAGESIZE;
 void * heap_base;
 static uint64_t heap_size;
 
-/* This list keeps heap_vma structures of free regions
- * organized in DESCENDING order.*/
+/* This list keeps heap_vma structures of used/reserved regions organized in DESCENDING order.*/
 DEFINE_LIST(heap_vma);
 struct heap_vma {
     LIST_TYPE(heap_vma) list;