---
name: "destroy_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/destroy_rcu_head_on_stack"
---

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

destroy on-stack rcu\_head for debugobjects

## NAME

destroy\_rcu\_head\_on\_stack - destroy on-stack rcu\_head for debugobjects

## SYNOPSIS

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

## ARGUMENTS

*head*

pointer to rcu\_head structure to be initialized

## DESCRIPTION

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.

## COPYRIGHT
