From: seantywork Date: Tue, 16 Sep 2025 23:50:41 +0000 (+0900) Subject: rcu deadly X-Git-Url: https://git.feebdaed.xyz/?a=commitdiff_plain;h=63d4e694051091925be0623fda747633b9f0f91a;p=linuxyz.git rcu deadly --- diff --git a/krcu-deadly/2509-17.xyz.md b/krcu-deadly/2509-17.xyz.md new file mode 100644 index 0000000..4287ca8 --- /dev/null +++ b/krcu-deadly/2509-17.xyz.md @@ -0,0 +1 @@ +# \ No newline at end of file diff --git a/krcu-deadly/Makefile b/krcu-deadly/Makefile new file mode 100644 index 0000000..ec3c2d2 --- /dev/null +++ b/krcu-deadly/Makefile @@ -0,0 +1,10 @@ +obj-m := rcudeadly.o + +all: +ifneq ($(IACCEPTITWILLKILLKERNEL),y) + @echo "needs 'IACCEPTITWILLKILLKERNEL=y' specified" + @exit 1 +endif + make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules +clean: + make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean \ No newline at end of file diff --git a/krcu-deadly/rcudeadly.c b/krcu-deadly/rcudeadly.c new file mode 100644 index 0000000..3ea0ec3 --- /dev/null +++ b/krcu-deadly/rcudeadly.c @@ -0,0 +1,28 @@ +#include +#include +#include +#include +#include +#include +#include + + + + + +static int __init rcu_deadly_init(void){ + + + + return 0; +} + +static void __exit rcu_deadly_exit(void){ + + +} + +module_init(rcu_deadly_init); +module_exit(rcu_deadly_exit); +MODULE_LICENSE("GPL"); +MODULE_AUTHOR("seantywork"); \ No newline at end of file