fix leakage on mid-level page table when freeing vms
authorLunaixsky <lunaixsky@qq.com>
Thu, 6 Feb 2025 06:05:22 +0000 (06:05 +0000)
committerLunaixsky <lunaixsky@qq.com>
Thu, 6 Feb 2025 06:05:22 +0000 (06:05 +0000)
commite2994a5332194a132c60db35c55a006bdd1f6566
tree4542869b3b88bafe11463c447cb2b24ce320fa42
parent6f65553ca5d2740738f399d88b3a4eb298255427
fix leakage on mid-level page table when freeing vms

* fix the mm stats in lunadbg to exclude reserved page and account for
  composite pages
* reduce the qemu memory config to 32M for faster mm stats while makeing
  it sufficient amount of avaliable memory
lunaix-os/includes/lunaix/mm/procvm.h
lunaix-os/includes/lunaix/mm/region.h
lunaix-os/kernel/mm/mmap.c
lunaix-os/kernel/mm/pmalloc_simple.c
lunaix-os/kernel/mm/procvm.c
lunaix-os/kernel/mm/valloc.c
lunaix-os/scripts/gdb/lunadbg/profiling/pmstat.py
lunaix-os/scripts/gdb/lunadbg/structs/page.py
lunaix-os/scripts/qemus/qemu_x86_dev.json