Page MenuHomeFreeBSD

linuxkpi: Add `radix_tree_deref_slot()`
ClosedPublic

Authored by dumbbell on Jan 4 2026, 10:31 AM.
Tags
None
Referenced Files
F164654779: D54502.id.diff
Sun, Aug 2, 11:52 PM
Unknown Object (File)
Fri, Jul 24, 11:15 AM
Unknown Object (File)
Fri, Jul 24, 9:21 AM
Unknown Object (File)
Thu, Jul 23, 7:06 AM
Unknown Object (File)
Wed, Jul 22, 9:18 AM
Unknown Object (File)
Tue, Jul 21, 11:39 AM
Unknown Object (File)
Wed, Jul 15, 7:01 AM
Unknown Object (File)
Wed, Jul 15, 7:01 AM
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.