---
name: "init_rcu_head_on_stack"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/init_rcu_head_on_stack"
---

# init\_rcu\_head\_on\_stack(9)

initialize on-stack rcu\_head for debugobjects

## NAME

init\_rcu\_head\_on\_stack - initialize on-stack rcu\_head for debugobjects

## SYNOPSIS

**void init\_rcu\_head\_on\_stack(struct rcu\_head \*** *head***);**

## ARGUMENTS

*head*

pointer to rcu\_head structure to be initialized

## DESCRIPTION

This function informs debugobjects of a new rcu\_head structure that has been allocated as an auto variable on the stack. This function is not required for rcu\_head structures that are statically defined or that are dynamically allocated on the heap. This function has no effect for !CONFIG\_DEBUG\_OBJECTS\_RCU\_HEAD kernel builds.

## COPYRIGHT
