__rpc_do_wake_up_task_on_wq(9)
π __rpc_do_wake_up_task_on_wq(9) β like, the kernel API manual, bestie β¨
okay so this is a page from the Kernel API Manual and it's about waking up exactly one rpc_task β yes, just one, we're being β¨specificβ¨ today.
πΈ NAME πΈ
__rpc_do_wake_up_task_on_wq β wake up a single rpc_task π
Like, one task. Singular. Main character energy, no entourage.
π¦ SYNOPSIS π¦
void __rpc_do_wake_up_task_on_wq (struct workqueue_struct *wq , struct
rpc_wait_queue *queue , struct rpc_task *task );
that's the whole vibe check: void, three args, no return value, we love a function that doesn't text back π«Ά
π ARGUMENTS π
wqβ the workqueue on which to runtask. yes bestie, this is the stage the task performs on πqueueβ the wait queue. the group chat the task's been lurking in πtaskβ the task to be woken up. rise and shine, bb β
β¨ DESCRIPTION β¨
so here's the tea, and it's lowkey a strict one π₯
Caller must hold queue->lock, and have cleared the task queued flag.
literally that's it, that's the whole description. no cap. if you're calling this without holding queue->lock and without having cleared the task's queued flag, you did not read the page and the kernel is going to have feelings about it π
it does exactly what the name says: it wakes up a single rpc_task. not two. not a whole queue. one. π
π§ SEE ALSO π§
it's giving "linked list of related functions," and honestly? iconic π
- Kernel file
./net/sunrpc/sched.c rpc_wake_up_queued_task_set_status(9)rpc_wake_up_locked(9)rpc_wake_up(9)rpc_wake_up_status_locked(9)rpc_wake_up_status(9)rpc_malloc(9)rpc_free(9)
go read the whole family, iykyk π
mwah π that's the page! source is ./net/sunrpc, dated October 2026, and the man page is __rpc_do_wake_up_task_on_wq(9) β slay, go wake up your one (1) task π¦πβ¨
π¦ 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