__rpc_do_wake_up_task_on_wq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __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 run task. 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 🌈

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