Page MenuHomeFreeBSD

linuxkpi: Add `radix_tree_deref_slot()`
ClosedPublic

Authored by dumbbell on Sun, Jan 4, 10:31 AM.
Tags
None
Referenced Files
F142420347: D54502.id169118.diff
Mon, Jan 19, 8:02 PM
Unknown Object (File)
Sun, Jan 18, 8:30 AM
Unknown Object (File)
Wed, Jan 14, 6:43 AM
Unknown Object (File)
Tue, Jan 13, 9:44 PM
Unknown Object (File)
Fri, Jan 9, 2:06 AM
Unknown Object (File)
Wed, Jan 7, 7:28 PM
Unknown Object (File)
Wed, Jan 7, 5:12 PM
Unknown Object (File)
Mon, Jan 5, 8: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.Sun, Jan 4, 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.