Improve cake allocator's memory utilisation (#43)
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / mmap.h
index 36f8904be92aa7e84aeb6f1dda7d962e5daf58a7..307610b6aa4ec9f430bbe9161dc1bc06901a5940 100644 (file)
@@ -11,6 +11,7 @@ struct mmap_param
     struct proc_mm* pvms; // process vm
     off_t offset;         // mapped file offset
     size_t mlen;          // mapped memory length
+    size_t flen;          // mapped file length
     u32_t proct;          // protections
     u32_t flags;          // other options
     u32_t type;           // region type