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)
Fri, Jun 12, 7:24 PM
Unknown Object (File)
May 16 2026, 9:19 PM
Unknown Object (File)
May 11 2026, 2:13 AM
Unknown Object (File)
May 11 2026, 2:13 AM
Unknown Object (File)
May 11 2026, 1:57 AM
Unknown Object (File)
May 11 2026, 1:54 AM
Unknown Object (File)
May 8 2026, 11:05 AM
Unknown Object (File)
May 7 2026, 7:54 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