From 63d4e694051091925be0623fda747633b9f0f91a Mon Sep 17 00:00:00 2001 From: seantywork Date: Wed, 17 Sep 2025 08:50:41 +0900 Subject: [PATCH] rcu deadly --- krcu-deadly/2509-17.xyz.md | 1 + krcu-deadly/Makefile | 10 ++++++++++ krcu-deadly/rcudeadly.c | 28 ++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 krcu-deadly/2509-17.xyz.md create mode 100644 krcu-deadly/Makefile create mode 100644 krcu-deadly/rcudeadly.c 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 -- 2.43.0