list_splice_init_rcu(9)
π¦ 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 issynchronize_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:
list_for_each_rcu(9)list_tail_rcu(9)list_add_rcu(9)list_add_tail_rcu(9)list_del_rcu(9)list_bidir_del_rcu(9)hlist_del_init_rcu(9)list_replace_rcu(9)list_splice_rcu(9)__list_splice_init_rcu(9)list_splice_tail_init_rcu(9)list_entry_rcu(9)list_first_or_null_rcu(9)list_next_or_null_rcu(9)list_for_each_entry_rcu(9)list_for_each_entry_srcu(9)list_entry_lockless(9)list_for_each_entry_lockless(9)list_for_each_entry_continue_rcu(9)list_for_each_entry_from_rcu(9)hlist_del_rcu(9)hlist_replace_rcu(9)hlists_swap_heads_rcu(9)hlist_add_head_rcu(9)hlist_add_tail_rcu(9)hlist_add_before_rcu(9)hlist_add_behind_rcu(9)hlist_for_each_entry_rcu(9)hlist_for_each_entry_srcu(9)hlist_for_each_entry_rcu_notrace(9)hlist_for_each_entry_rcu_bh(9)hlist_for_each_entry_continue_rcu(9)hlist_for_each_entry_continue_rcu_bh(9)hlist_for_each_entry_from_rcu(9)
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
- 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