mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
Fix workqueue cheat link
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
1. [seq_file](seq_file.c)
|
||||
1. [seq_file_single](seq_file_inode.c)
|
||||
1. Asynchronous
|
||||
1. [workqueue](workqueue.c)
|
||||
1. [workqueue_cheat](workqueue_cheat.c)
|
||||
1. [sleep](sleep.c)
|
||||
1. [kthread](kthread.c)
|
||||
1. [kthreads](kthreads.c)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/*
|
||||
Usage:
|
||||
|
||||
insmod /workqueue_cheat.ko
|
||||
# dmesg => worker
|
||||
rmmod workqueue_cheat
|
||||
insmod /workqueue_cheat.ko
|
||||
# dmesg => worker
|
||||
rmmod workqueue_cheat
|
||||
|
||||
Creates a separate thread. So init_module can return, but some work will still get done.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user