1INIT_RCU_HEAD_ON_STA(9) Driver Basics INIT_RCU_HEAD_ON_STA(9)
2
3
4
6 init_rcu_head_on_stack - initialize on-stack rcu_head for debugobjects
7
9 void init_rcu_head_on_stack(struct rcu_head * head);
10
12 head
13 pointer to rcu_head structure to be initialized
14
16 This function informs debugobjects of a new rcu_head structure that has
17 been allocated as an auto variable on the stack. This function is not
18 required for rcu_head structures that are statically defined or that
19 are dynamically allocated on the heap. This function has no effect for
20 !CONFIG_DEBUG_OBJECTS_RCU_HEAD kernel builds.
21
23Kernel Hackers Manual 3.10 June 2019 INIT_RCU_HEAD_ON_STA(9)