Deep DivesHow Linux Accounts for Memory — Part 1: From memblock to the Buddy Allocator
A 4 GiB machine reports MemTotal 4000424 kB. Trace memblock's handover to the buddy allocator and reconcile the missing 189 MiB, page…
Articles in this topic.
Deep DivesA 4 GiB machine reports MemTotal 4000424 kB. Trace memblock's handover to the buddy allocator and reconcile the missing 189 MiB, page…
Deep DivesOn PREEMPT_RT, RCU priority boosting is on by default and the kthreads it promotes run at SCHED_FIFO 1. Where that number comes…
Deep DivesThe ktimers thread moved timer softirq work out of ksoftirqd on PREEMPT_RT. How it works, which kernels have it, and what it…
Deep DivesA board has three time mechanisms, not one. How the Linux clocksource turns counter ticks into nanoseconds, and why sched_clock is separate.
Deep DivesOn PREEMPT_RT, forced interrupt threading moves your handler into a thread, forces IRQF_ONESHOT, and can split one driver into two threads at…
Deep DivesOn PREEMPT_RT, preemptible softirqs run in task context and local_bh_disable() is a lock, not a counter. Linux 6.18 then dropped that lock…
Deep DivesOn PREEMPT_RT, local_lock and migrate_disable split one job in two: the macro expansions, the kernel's case against migration disabling, and the traps.
Deep DivesA source walkthrough of Linux power management on 7.2: the five device lists, the four suspend phases, where a wakeup aborts the…
Deep DivesPriority inheritance in the Linux rtmutex assigns, never increments. The two waiter trees, the chain walk, max_lock_depth, and why semaphores get none.
Deep DivesWalk the path from start_kernel to userspace on arm64: rest_init, kernel_init, the initcall levels, and the fixed order the kernel searches for…
Deep DivesHow Linux nvmem cells carry a MAC address or calibration data out of an EEPROM or fuse array and into a driver…
Deep DivesUnder PREEMPT_RT spinlock_t becomes an rtmutex. Sleeping spinlocks explain why _irq does nothing and why unlock order matters.
Deep DivesMemory allocation profiling attributes kernel RAM to a source line. What it costs to ship, how to leave it dormant, and why…
Deep DiveseBPF observability for embedded Linux in three layers: in-kernel instrumentation, structured events, and the power regressions logs never show.
Deep DivesHow UBI works on raw NAND: LEB to PEB mapping, the 20 per 1024 bad block reserve, wear levelling, attach time and…
One email every two weeks — the best of our kernel & embedded writing, plus a hand-picked link or two. No spam.
// 1,200+ embedded engineers already read it
We email occasionally and never share your address.