Expand description
Cranelift-backed kw_host_jit_* implementation for unkernel’s kwemu aarch64 JIT.
Each compiled ARM64 basic block is emitted by the guest kernel as a tiny Wasm module
importing env.memory and env.table and exporting function f. We compile each block
ONCE via wasmtime::Module::new (which is Send + Sync) and share it across all per-task
Stores using a lock-free jit_epoch check on task resume.
Structs§
- JitStats
- Runtime statistics for
kwemu-> Cranelift dynamic guest block compilation. - Shared
JitState - VM-wide shared JIT table synchronized across all kernel task
Stores viaepoch. - Task
JitState - Per-task (
Store-local) mirror of__indirect_function_tableJIT slots.