commit | ccaea15296f9773abd43aaa17ee4b88848e4a505 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | Fri Jul 31 17:04:59 2020 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Aug 25 01:31:32 2020 +1000 |
tree | 1b35eb008d5d6fd28f7d5280ad26ae1308b34736 | |
parent | 18102e4bcc47f5b5ac70e2e4461d022c1ee6df24 [diff] |
powerpc/vmemmap: Fix memory leak with vmemmap list allocation failures. If we fail to allocate vmemmap list, we don't keep track of allocated vmemmap block buf. Hence on section deactivate we skip vmemmap block buf free. This results in memory leak. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200731113500.248306-1-aneesh.kumar@linux.ibm.com