AJAmit Joshiindevnation.joshisfitness.com·4d 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·6d ago · 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
AJAmit Joshiindevnation.joshisfitness.com·Jun 24 · 3 min readBuilding a Worker Pool in F# with MailboxProcessorIntroduction While studying concurrent network programming, I explored how to implement a worker pool in F# using MailboxProcessor, F#'s built-in actor abstraction. The example launches multiple worke10