fix(kernel): fix kill wait-queue cleanup, RegionId tracking, ReleasePages ownership, and SwitchTo scheduler state

This commit is contained in:
2026-10-18 00:31:05 +02:00
parent 8912a944b8
commit b8c5090fe5
6 changed files with 93 additions and 19 deletions

View File

@@ -34,6 +34,10 @@ impl MultiCoreScheduler {
self.cores[core.raw() as usize].current()
}
pub fn set_current(&mut self, core: CoreId, thread: ThreadId) {
self.cores[core.raw() as usize].set_current(thread);
}
fn thread_count_on(&self, core: CoreId) -> usize {
self.placements
.iter()