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, Oct 6, 8:04 PM
Unknown Object (File)
Wed, Oct 1, 3:39 PM
Unknown Object (File)
Wed, Sep 24, 9:37 PM
Unknown Object (File)
Wed, Sep 24, 3:05 AM
Unknown Object (File)
Mon, Sep 22, 7:48 AM
Unknown Object (File)
Fri, Sep 19, 8:47 AM
Unknown Object (File)
Sep 16 2025, 11:51 PM
Unknown Object (File)
Sep 14 2025, 1:25 AM
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