ke+mm: add TLB shootdown and memory reclamation.

This commit is contained in:
Loïc Grégoire
2026-06-25 21:33:14 -04:00
parent 20a38f3a49
commit 4ba57ad42a
19 changed files with 422 additions and 63 deletions
+7
View File
@@ -17,9 +17,11 @@ pub const Console = p.log.Console;
pub const CpuLocal = p.cpu.CpuLocal;
pub const ExportedCpuLocal = p.cpu.ExportedCpuLocal;
pub const CpuMask = p.cpu.CpuMask;
pub const AtomicCpuMask = p.cpu.AtomicCpuMask;
pub const Event = p.event.Event;
pub const Queue = p.queue.Queue;
pub const Mutex = p.mutex.Mutex;
pub const ShootdownState = p.shootdown.ShootdownState;
// === Exported Interfaces ===
pub const panic = p.panic.panic;
@@ -72,5 +74,10 @@ pub const cpu = struct {
pub const current = p.cpu.current;
};
pub const shootdown = struct {
pub const submit = p.shootdown.submit;
pub const shootdowns = &p.shootdown.shootdowns;
};
/// Number of CPUs on the system
pub var ncpus: usize = 0;