Page MenuHomeFreeBSD

linuxkpi: Add `list_for_each_rcu()`
ClosedPublic

Authored by dumbbell on Mar 15 2025, 11:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 6, 7:05 PM
Unknown Object (File)
Sun, Apr 5, 5:36 PM
Unknown Object (File)
Fri, Mar 20, 10:24 PM
Unknown Object (File)
Fri, Mar 20, 10:17 PM
Unknown Object (File)
Wed, Mar 11, 6:42 PM
Unknown Object (File)
Feb 16 2026, 3:28 AM
Unknown Object (File)
Feb 8 2026, 10:28 PM
Unknown Object (File)
Jan 29 2026, 6:06 PM
Subscribers

Details

Summary

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.

This is part of the update of DRM drivers to Linux 6.8.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable