
Navigate Linux Kernel Source With Elixir and cscope
Browse Linux source online with Elixir and index a local tree with cscope and make cscope, so you can find a symbol's definition and every caller in seconds.
Linux kernel modules and drivers, system calls, schedulers, bootloaders and UEFI, and writing a hobby operating system from the first instruction.

Browse Linux source online with Elixir and index a local tree with cscope and make cscope, so you can find a symbol's definition and every caller in seconds.

A guided map of the Linux 6.12 kernel source tree, from arch/ to mm/ and net/, with when each top-level directory is worth opening and when it is not.

Privilege rings on x86 and exception levels on ARM split code into trust levels the hardware enforces, so a user program cannot touch kernel memory or devices.

Monolithic, microkernel and hybrid kernels differ in how much runs at top privilege; this compares Linux, MINIX 3, seL4 and Windows NT with a decision table.

User space and kernel space are two privilege levels and two address ranges; code in one reaches the other only through system calls, faults and interrupts.

A kernel schedules processes, manages memory, drives devices and exposes system calls, and everything else on a Linux machine sits on those four jobs.

Run the Rust doctests of the kernel crate and write your own kunit_tests suite on Linux 6.18, with kunit.py, KTAP output and the limits of each test kind.

Compare one Linux 6.18 module in C and Rust for safety, error handling, build cost and API coverage, then pick the language for your next kernel module.

Write, build and load a first Rust kernel module in a Linux 6.18 tree: the module! macro, init and Drop, KVec, Kconfig and Makefile entries and dmesg output.

Install the Rust toolchain, bindgen and libclang, check them with make rustavailable, enable CONFIG_RUST in a Linux 6.18 tree and build the Rust samples.

What changes when you write Rust for the Linux 6.18 kernel: no std, fallible allocation, errno Results, panics that act like BUG, and no main function.

What Rust for Linux is, what the 6.18 kernel actually contains, why the project adopted it as an experiment, and how abstractions keep unsafe code in one place.
We send one email when a new post is published. No spam.