---
name: "list_add_tail_rcu"
section: "9"
platform: "linux"
package: "linux-manual-2.6.26"
version: "2.6.26-29"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/list_add_tail_rcu"
---

# list\_add\_tail\_rcu(9)

add a new entry to rcu-protected list

## NAME

list\_add\_tail\_rcu - add a new entry to rcu-protected list

## SYNOPSIS

**void list\_add\_tail\_rcu(struct list\_head \*** *new***, struct list\_head \*** *head***);**

## ARGUMENTS

*new*

new entry to be added

*head*

list head to add it before

## DESCRIPTION

Insert a new entry before the specified head. This is useful for implementing queues.

The caller must take whatever precautions are necessary (such as holding appropriate locks) to avoid racing with another list-mutation primitive, such as **list\_add\_tail\_rcu** or **list\_del\_rcu**, running on this same list. However, it is perfectly legal to run concurrently with the \_rcu list-traversal primitives, such as **list\_for\_each\_entry\_rcu**.

## COPYRIGHT
