Re: [PATCH 0/2] lib/sort: Clean up sort_nonatomic() and sort_r_nonatomic()

From: Will Deacon

Date: Thu Aug 06 2026 - 13:15:16 EST


On Thu, 30 Jul 2026 18:12:14 +0000, Kuan-Wei Chiu wrote:
> Remove the sort_nonatomic() and sort_r_nonatomic() APIs from the kernel
> library.
>
> Currently, the arm-smmu-v3 driver is the sole in-tree user of
> sort_nonatomic(). Because the array size being sorted is small in
> practice, there is no real risk of triggering a soft lockup. Therefore,
> the periodic cond_resched() calls provided by the _nonatomic variant
> are unnecessary.
>
> [...]

Applied driver change to iommu (arm/smmu/updates), thanks!

[1/2] iommu/arm-smmu-v3: Replace sort_nonatomic() with sort()
https://git.kernel.org/iommu/c/340e3c5165d4

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev