]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
rcu deadly
authorseantywork <seantywork@gmail.com>
Tue, 16 Sep 2025 23:50:41 +0000 (08:50 +0900)
committerseantywork <seantywork@gmail.com>
Tue, 16 Sep 2025 23:50:41 +0000 (08:50 +0900)
krcu-deadly/2509-17.xyz.md [new file with mode: 0644]
krcu-deadly/Makefile [new file with mode: 0644]
krcu-deadly/rcudeadly.c [new file with mode: 0644]

diff --git a/krcu-deadly/2509-17.xyz.md b/krcu-deadly/2509-17.xyz.md
new file mode 100644 (file)
index 0000000..4287ca8
--- /dev/null
@@ -0,0 +1 @@
+#
\ No newline at end of file
diff --git a/krcu-deadly/Makefile b/krcu-deadly/Makefile
new file mode 100644 (file)
index 0000000..ec3c2d2
--- /dev/null
@@ -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 (file)
index 0000000..3ea0ec3
--- /dev/null
@@ -0,0 +1,28 @@
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <linux/list.h>
+#include <linux/rculist.h>
+#include <linux/spinlock.h>
+#include <linux/preempt.h>
+
+
+
+
+
+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