Re: [PATCH] powerpc/mm/hash: Free the subpage_prot_table correctlyy
On Mon, Jun 19, 2017 at 12:52:14PM +0530, Anshuman Khandual wrote:
> On 06/17/2017 09:30 PM, Ram Pai wrote:
> > This fix, resolved the OOM seen while running subpage_prot selftest, in a
> > infinite loop.
> The OOM is caused because of memory leaks by wrong freeing
> of the subpage_prot_table previously ?
No. Rather, not freeing up of the memory allocated previously
and tracked through the subpage_prot_table.
On Sat, 2017-06-17 at 14:30:55 UTC, "Aneesh Kumar K.V" wrote:
> Fixes: dad6f37c2602e ("powerpc: subpage_protect: Increase the array size to take care of 64TB")
> Signed-off-by: Aneesh Kumar K.V <[hidden email]>
> Tested-by: Ram Pai <[hidden email]>