destroy_rcu_head_on_stack - destroy on-stack rcu_head for debugobjects
void destroy_rcu_head_on_stack(struct rcu_head * head);
This function informs debugobjects that an on-stack rcu_head structure is about to go out of scope. As with init_rcu_head_on_stack, this function is not required for rcu_head structures that are statically defined or that are dynamically allocated on the heap. Also as with init_rcu_head_on_stack, this function has no effect for !CONFIG_DEBUG_OBJECTS_RCU_HEAD kernel builds.
|January 2017||Kernel Hackers Manual 4.8.|