move_linked_works(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– move_linked_works(9) πŸ’–

okay bestie, this is the Kernel API Manual page for move_linked_works(9), and it's literally about moving linked works to a list. no cap, the page is short but the SEE ALSO list is a whole friend group. 🫢


🌸 NAME 🌸

move_linked_works β€” move linked works to a list πŸ’«

✨ SYNOPSIS ✨

void move_linked_works (struct work_struct *work , struct list_head
       *head , struct work_struct **nextp );

πŸŽ€ ARGUMENTS πŸŽ€

  • work β€” start of the series of works to be scheduled. this is the first one in the linked-work chain, bestie πŸ’…
  • head β€” target list to append work to. this is where the series is headed 🫢
  • nextp β€” out parameter for nested worklist walking. yes, it's an out-param; assign_work is the one with the details on it ✨

πŸ’… DESCRIPTION πŸ’…

So move_linked_works schedules linked works, starting at work and going to head. The work series that gets scheduled starts at work and includes any consecutive work with WORK_STRUCT_LINKED set in its predecessor. If you need the deep lore on nextp, see assign_work. periodt. ✨

πŸ”’ CONTEXT πŸ”’

Context check, bestie: raw_spin_lock_irq(pool->lock). That's the lock context. No cap. πŸ’…

🌈 SEE ALSO 🌈

Here's the full squad from the Kernel file, no cuts:


mwah πŸ’‹ source/version: ./kernel Β· date: October 2026 🌸

πŸ“¦ where this page comes from