Re: powerpc/mm/hash: Free the subpage_prot_table correctly

2017-07-27 Thread Michael Ellerman
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 > Tested-by: Ram Pai Applied to powerpc

Re: [PATCH] powerpc/mm/hash: Free the subpage_prot_table correctly

2017-06-19 Thread Anshuman Khandual
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 ?

Re: [PATCH] powerpc/mm/hash: Free the subpage_prot_table correctly

2017-06-17 Thread Ram Pai
This fix, resolved the OOM seen while running subpage_prot selftest, in a infinite loop. Tested-by: Ram Pai On Sat, Jun 17, 2017 at 08:00:55PM +0530, Aneesh Kumar K.V wrote: > Fixes: dad6f37c2602e ("powerpc: subpage_protect: Increase the array size to > take care of

[PATCH] powerpc/mm/hash: Free the subpage_prot_table correctly

2017-06-17 Thread Aneesh Kumar K.V
Fixes: dad6f37c2602e ("powerpc: subpage_protect: Increase the array size to take care of 64TB") Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/mm/subpage-prot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/subpage-prot.c