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)
Sun, May 17, 10:24 AM
Unknown Object (File)
Sun, May 17, 8:43 AM
Unknown Object (File)
Sun, May 17, 3:01 AM
Unknown Object (File)
Wed, May 13, 5:26 PM
Unknown Object (File)
Mon, May 11, 1:57 PM
Unknown Object (File)
Fri, May 8, 3:25 AM
Unknown Object (File)
Wed, May 6, 11:59 AM
Unknown Object (File)
Sat, May 2, 9:44 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.