AJAmit Joshiindevnation.joshisfitness.com·2h ago · 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 synchron10
AJAmit Joshiindevnation.joshisfitness.com·22h ago · 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 worke00
AJAmit Joshiindevnation.joshisfitness.com·23h ago · 4 min readUnderstanding Linux Kernel Mutex Synchronization with Kernel ThreadsIntroduction Concurrency is everywhere inside the Linux kernel. Multiple execution contexts may attempt to access the same data simultaneously, leading to race conditions and corrupted state. In this 00
AJAmit Joshiindevnation.joshisfitness.com·2d ago · 3 min readConcurrent Port Scanning in F# with TasksIntroduction Scanning one TCP port at a time is simple, but it is inefficient. Network operations spend most of their time waiting for remote hosts to respond. Instead of scanning ports sequentially, 00
AJAmit Joshiindevnation.joshisfitness.com·3d ago · 4 min read Understanding Mutexes, Concurrency, and Character Device Drivers in Linux Kernel ModulesIntroduction Synchronization bugs are among the most difficult issues to debug in kernel-space software. A simple character device driver can become unsafe when multiple processes access shared resour00