Re: 4.1.28: memory leak introduced by "mm/swap.c: flush lru pvecs on compound page arrival"
From: Mikulas Patocka
Date: Sat Jul 16 2016 - 14:49:12 EST
On Sat, 16 Jul 2016, Jens Rottmann wrote:
> Hi Minchan (& all),
> Minchan Kim wrote:
> > [...] found __lru_cache_add has a bug. [...]
> [-] if (!pagevec_space(pvec) || PageCompound(page))
> [+] if (!pagevec_add(pvec, page) || PageCompound(page))
> Confirm that did plug the leak, thanks!
> Also I just saw this was known already:
> Sorry for not noticing earlier, I did search for "4.1.28 memory leak", but not for "memleak".
> Many thanks,
For me it fixed the bug too.