kthread_run_worker(9)
π
NAME β kthread_run_worker(9) from the Kernel API Manual, hiiii β¨
Okay bestie, welcome to the kthread_run_worker(9) page from the Kernel API Manual π«Ά This oneβs literally all about how to create and wake a kthread worker.
β¨ SYNOPSIS β¨
No cap, hereβs the exact signature, character for character:
kthread_run_worker (flags , namefmt , ... );
π ARGUMENTS π
flagsβ flags that modify the default behavior of the worker πnamefmtβ aprintf-style name for the thread πΈ...β variable arguments, bestie β¨
π¦ DESCRIPTION π¦
So the vibe is: this is a convenient wrapper for kthread_create_worker followed by wake_up_process π₯
It returns the kthread_worker or ERR_PTR(-ENOMEM) π
π SEE ALSO π
- Kernel file
./include/linux/kthread.h kthread_create(9)kthread_run(9)kthread_run_on_cpu(9)kthread_run_worker_on_cpu(9)
Signed off with π from ./include/linux, dated October 2026, on the kthread_run_worker(9) page β bye bestie, slay your kernel threads responsibly πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms