Deep DivesLinux Clocksource and sched_clock: Three Clocks on One Board
A board has three time mechanisms, not one. How the Linux clocksource turns counter ticks into nanoseconds, and why sched_clock is separate.
Articles in this topic.
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…
Deep DivesHow genpd power domains decide to cut power in the Linux kernel: the checks in genpd_power_off(), the stay_on rule, and reading pm_genpd_summary.
Deep DivesA working guide to the Linux DMA API: coherent vs streaming mappings, cache sync rules, the dma-coherent property, and debugging with CONFIG_DMA_API_DEBUG.
Deep DivesHow to write a minimal sched_ext scheduler: the four callbacks, the dispatch queue model, and how to build, load and verify it…
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.