We present a lightweight C implementation of a balanced search and indexing structure embedded within a Linux kernel module that is compiled to WebAssembly. The module preserves strict height-balance and key-ordering invariants while operating in a contiguous node layout, enabling efficient point and range queries. We formally prove that all operations satisfy O(log N) amortized complexity, leveraging the amortized analysis framework of Tarjan and the foundational algorithmic principles of Knuth. formal structural analysis confirms a structural complexity of O(N) auxiliary memory and a source-line count of 153. The implementation is publicly available at .
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_28_unkernel_real_linux_kernel_compiled,
title={Balanced Height-Invariant Maintenance in a C-Based Aether-Module: Real Linux Kernel Compiled to WebAssembly},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-28_unkernel_real_linux_kernel_compiled/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-28_unkernel_real_linux_kernel_compiled/2026-11-28_unkernel_real_linux_kernel_compiled.pdf}}
}