GitHunt
SN

Snorch/spinlock-irq-test-module

Module to test spin_lock_irq possible deadlock detection

Note: to build the module for your current kernel, you need to have kernel-devel package for this kernel installed.

To build:

bash build.sh

To test:

insmod ./list_union.ko
rmmod ./list_union.ko

Check dmesg:

dmesg | grep spinlock_irq_test:

spinlock_irq_test: loading out-of-tree module taints kernel.
spinlock_irq_test: module verification failed: signature and/or required key missing - tainting kernel
spinlock_irq_test: loading...
spinlock_irq_test: loaded
spinlock_irq_test: unloaded

Contributors

Created June 6, 2025
Updated June 6, 2025