Files
linux-nvgpu/drivers/gpu/nvgpu/common/mm/allocators
Vedashree Vidwans 931edb9d52 gpu: nvgpu: free slabs in page_allocator_init fail
Currently, nvgpu_page_allocator_init() doesn't free allocated slabs if
function fails initializing buddy_allocator. This patch frees allocated
slabs in fail path.

Jira NVGPU-3107

Change-Id: I17d735e7d664c1ddcbeab04129c4baca1581fe1e
Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2092769
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-04-18 15:54:55 -07:00
..