HomeFreeBSD

linuxkpi: Add `list_for_each_rcu()`

Description

linuxkpi: Add list_for_each_rcu()

This is a variant of list_for_each() where the next item in the list
is read using rcu_dereference().

This is used by the i915 DRM driver starting with Linux 6.8.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49375

Details

Provenance
dumbbellAuthored on Feb 22 2025, 6:25 PM
Reviewer
emaste
Differential Revision
D49375: linuxkpi: Add `list_for_each_rcu()`
Parents
rG039eac2463d7: linuxkpi: Add `strim()`
Branches
Unknown
Tags
Unknown