A simple project to show how read-copy-update synchronization mechanism in the linux kernel.
Here is the module.
make
sudo insmod test_spinlock.ko
sudo dmesg | less > log.txt
sudo rmmod test_spinlock.ko
Here is the module.
make
sudo insmod test_rcu.ko
sudo dmesg | less > log.txt
sudo rmmod test_rcu.ko