AJAmit Joshiindevnation.joshisfitness.com·13h ago · 6 min readUnderstanding the Linux Scheduler with a Kernel ModuleThe Linux scheduler is one of the most important components of the operating system. Every running program, background service, and kernel thread eventually interacts with the scheduler. In this artic00
AJAmit Joshiindevnation.joshisfitness.com·5d ago · 6 min readUsing Kernel Mutexes Linux Kernel Mutexes Explained with a Mini Driver Concurrency is a fundamental aspect of Linux kernel programming. Device drivers often execute in multiple contexts, making synchronization essential w00
AJAmit Joshiindevnation.joshisfitness.com·Jul 9 · 7 min readLinux Kernel Mutexes: Safe Synchronization with Kernel ThreadsModern Linux kernel development is fundamentally about correctness under concurrency. Whether we're writing a character driver, platform driver, network subsystem, or filesystem code, multiple executi00
AJAmit Joshiindevnation.joshisfitness.com·Jul 3 · 8 min readSynchronization Using `struct mutex` in Linux Kernel ModulesA hands-on Linux Kernel Module (LKM) demonstrating kernel mutexes, kernel threads, critical sections, thread synchronization, and proper module lifecycle management. Table of Contents Overview Lear20
AJAmit Joshiindevnation.joshisfitness.com·Jun 25 · 5 min readMutex vs SpinlockIntroduction Concurrency is everywhere inside the Linux kernel. Multiple threads, processes, softirqs, tasklets, and interrupt handlers can access the same shared data simultaneously. Without synchron30