aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2020-11-26 13:01:11 +0200
committerOded Gabbay <ogabbay@kernel.org>2020-11-30 10:30:16 +0200
commitc8c39fbd01d42c30454e42c16bcd69c17260b90a (patch)
tree7e510888d12327842f73819b5fcd54ee7a8b2832 /drivers/pci/controller/pci-host-generic.c
parentf0992098cadb4c9c6a00703b66cafe604e178fea (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>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions