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

Ram Pai linuxram at us.ibm.com
Tue Jun 20 03:54:21 AEST 2017


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.

RP



More information about the Linuxppc-dev mailing list