list_splice_init_rcu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ list_splice_init_rcu(9) πŸ¦‹

okay so welcome to the Kernel API Manual corner of the group chat, bestie. Today’s main character is list_splice_init_rcu, and she is here to do exactly one splice-related thing. no cap. πŸ’…


🌸 NAME 🌸

list_splice_init_rcu β€” splice an RCU-protected list into an existing list, designed for stacks. that’s the whole assignment, and she ate. ✨

✨ SYNOPSIS ✨

void list_splice_init_rcu (struct list_head *list , struct list_head
       *head , void (*sync)(void) );

πŸŽ€ ARGUMENTS πŸŽ€

  • list β€” the RCU-protected list to splice. that’s the list on deck.
  • head β€” the place in the existing list to splice the first list into. lowkey the destination vibe.
  • sync β€” the sync hook is synchronize_rcu, synchronize_rcu_expedited, ... β€” yes, the ... is doing its little mysterious thing. iykyk.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./include/linux/rculist.h. The full assigned-reading squad is literally:


source/version/date tea: ./include/linux Β· October 2026 Β· list_splice_init_rcu(9) β€” bye bestie, go be iconic and splice responsibly πŸ«ΆπŸ’–

πŸ“¦ where this page comes from