Skip to content

A Linux kernel module playground exploring synchronization mechanisms like mutexes and read-write locks, using practical code snippets and detailed notes.

License

Notifications You must be signed in to change notification settings

ANSANJAY/KernelReadWriteSpinlock

Repository files navigation

Linux Kernel Synchronization Playground 🛠️🐧

Explore the wonders of Linux Kernel Module programming and synchronization mechanisms like mutexes and read-write locks through practical examples and comprehensive notes.

Repository Structure 🗂️📚

  • read_lock.md: Dive into the workings and nuances of utilizing read locks in the Linux kernel.
  • notes.md: Uncover insights into the order of execution in kernel programming and synchronization.
  • hello.c, ioctl_cmd.h, Makefile: Experiment with kernel module creation and interaction.
  • hello.c, Makefile: Sample code snippets for kernel module development practice.
  • hello.c, Makefile: Additional examples for refining your kernel module programming skills.

Getting Started 🚀

  1. Compile: Utilize the provided Makefile in each subdirectory.
  2. Load/Unload Modules: Use insmod and rmmod for loading and unloading kernel modules respectively.
  3. Explore: Read the detailed markdown notes and manipulate code snippets to learn interactively.

License 📄

This project is licensed under the GPL License - see the LICENSE file for details.

👩‍💻 Happy Kernel Hacking! 🚀

About

A Linux kernel module playground exploring synchronization mechanisms like mutexes and read-write locks, using practical code snippets and detailed notes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published