The tag is used to perform lookup in a different way.
New functions were introduced:
- to set, check and clear a tag
- to walk through a radix tree based on a given tag
Furthermore, the radix_tree_delete() function was modified to clear tags on deletion.
The amdgpu DRM driver started to use this in Linux 6.10.
While here, the radix_tree_gang_lookup() function was added because it is very close to radix_tree_gang_lookup_tag(), but it is not used by the DRM drivers as of this commit.
This is part of the update of DRM drivers to Linux 6.10.
Sponsored by: The FreeBSD Foundation