mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 18:21:35 +03:00
xa_alloc can return the handle id which was freed recently. Instead, once handle id is provided, next time start from next handle id. Once max limit is reached then start from U32MAX / 2 again. Bug 4171509 Change-Id: Ib5678136835e809632e4a2498b4dffe522e56c8d Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2942022 (cherry picked from commit 2927da12a16d69d2bc49d3a6e910abefefd77f5b) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2942016 Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>