Page MenuHomeFreeBSD

linuxkpi: Add `radix_tree_deref_slot()`
ClosedPublic

Authored by dumbbell on Jan 4 2026, 10:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 4, 9:26 AM
Unknown Object (File)
Fri, Mar 20, 12:40 PM
Unknown Object (File)
Thu, Mar 19, 3:54 PM
Unknown Object (File)
Feb 26 2026, 11:52 PM
Unknown Object (File)
Feb 16 2026, 12:19 AM
Unknown Object (File)
Jan 26 2026, 6:27 PM
Unknown Object (File)
Jan 19 2026, 10:45 PM
Unknown Object (File)
Jan 19 2026, 10:29 PM
Subscribers

Details

Summary

We don't do reference counting, therefore this is a no-op.

The amdgpu DRM driver started to use it in Linux 6.10.

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

Sponsored by: The FreeBSD Foundation

Diff Detail

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

Event Timeline

bz added a subscriber: bz.

Technically this is not a no-op as you do a *-operation.

Looking at radix_tree_lookup() it seems we also do not provide pointer stability, so this should be fine within our implementation at least.

This revision is now accepted and ready to land.Jan 4 2026, 9:48 PM
This revision was automatically updated to reflect the committed changes.
In D54502#1245389, @bz wrote:

Technically this is not a no-op as you do a *-operation.

Good catch, I modified the commit message.