interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / m3_topology_scheduler_2026-09-24.md

58 lines · 2325 bytes Raw Blame History Source

Evidence: timer-driven preemption and deterministic MADT placement in QEMU

Branch: feat/m3-topology-scheduler Base: 0b0dc82 (main after PR #104) Commit under test: the branch tip including feat(scheduler): timer-driven preemption with MADT-aware placement

Exact successful invocation

AIENOS_QEMU_VERBOSE=1 AIENOS_QEMU_TIMEOUT=90 bash scripts/qemu_boot_test.sh

Exit 0, QEMU_BOOT: PASS.

Environment

Serial proof (raw lines)

kernel_el: EL1h
mmu: enabled
threads: ok interleave=ABABABABAB
el0: ok write=granted forged=denied fault=contained exit=0
preempt: ok a=5716769 b=3798659 switches=4
placement: worker0=class0/core0 worker1=class0/core1
kernel: alive

What the results demonstrate

IRQ model

The EL1 IRQ trampoline now saves the complete TrapFrame and calls thread::aienos_irq_dispatcher, which acknowledges the interrupt, re-arms the timer, ends the interrupt in the GIC, and returns the next frame to restore. handoff's timer_irq is a pure counter. Vector slot 8 (EL0 containment, PR #104) and slot 5 (IRQ) routing are unchanged.

Boundary

Emulator only. QEMU exposes one efficiency class, so cross-class migration is host-tested, not observed on hardware. No SMP bring-up of secondary cores is exercised; placement is the deterministic policy the scheduler will apply when secondary cores are started.