commit | 8e718f2eda8d4d2268f1872bd4deddd54900283a | [log] [tgz] |
---|---|---|
author | Ofir Bitton <obitton@habana.ai> | Thu Nov 26 13:01:11 2020 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Mon Nov 30 10:47:37 2020 +0200 |
tree | 5cf0f2de9591e0a69186fb5baa8ffab88a9c1118 | |
parent | a63c3fb37b157b56d713a386dc024bf6deb9c7cf [diff] |
habanalabs: free host huge va_range if not used If huge range is not valid, driver uses the host range also for huge page allocations, but driver never frees its allocation. This introduces a memory leak every time a user closes its context. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>