This commit is contained in:
Yifan Wu 2023-02-08 11:32:15 +08:00
parent 532b24478c
commit ada05c3323

View File

@ -87,6 +87,7 @@ impl Drop for KernelStack {
KERNEL_SPACE
.exclusive_access()
.remove_area_with_start_vpn(kernel_stack_bottom_va.into());
KSTACK_ALLOCATOR.exclusive_access().dealloc(self.0);
}
}