My First Kernel Module: A Debugging Nightmare
2 threads want to access a piece of data. If one thread modifies data at same time as another thread READs it, we encounter.
The bug was caused due to indicating threads were free. Due toand other functions. Then we tried to access the old copy. However it had already been freed.