Re: Memory management issue in 4.18.15

From: Randy Dunlap
Date: Sat Oct 20 2018 - 11:40:43 EST

[add linux-mm mailing list + people]

On 10/20/18 4:41 AM, Spock wrote:
> Hello,
> I have a workload, which creates lots of cache pages. Before 4.18.15,
> the behavior was very stable: pagecache is constantly growing until it
> consumes all the free memory, and then kswapd is balancing it around
> low watermark. After 4.18.15, once in a while khugepaged is waking up
> and reclaims almost all the pages from pagecache, so there is always
> around 2G of 8G unused. THP is enabled only for madvise case and are
> not used.
> The exact change that leads to current behavior is