---
name: "hlist_del_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/hlist_del_rcu"
---

# hlist\_del\_rcu(9)

deletes entry from hash list without re-initialization

## NAME

hlist\_del\_rcu - deletes entry from hash list without re-initialization

## SYNOPSIS

**void hlist\_del\_rcu(struct hlist\_node \*** *n***);**

## ARGUMENTS

*n*

the element to delete from the hash list.

## NOTE

**list\_unhashed** on entry does not return true after this, the entry is in an undefined state. It is useful for RCU based lockfree traversal.

In particular, it means that we can not poison the forward pointers that may still be used for walking the hash list.

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

## COPYRIGHT
