Re: [Devel] [PATCH rh7 v4] mm/memcg: fix cache growth above cache.limit_in_bytes

2020-09-24 Thread Konstantin Khorenko
Andrey, please port fixes for memcg.cache.limit_in_bytes feature to vz8 as well. AFAIS, the initial patch has been committed to vz8 already: vz8: 0d64967242fd mm/memcg: limit page cache in memcg hack But vz7 has several more fixes for it, which are to be ported yet: vz7: 1bfd6445b3f29f503d969325

Re: [Devel] [PATCH rh7 v4] mm/memcg: fix cache growth above cache.limit_in_bytes

2020-07-30 Thread Andrey Ryabinin
On 7/30/20 6:52 PM, Evgenii Shatokhin wrote: > Hi, > > On 30.07.2020 18:02, Andrey Ryabinin wrote: >> Exceeding cache above cache.limit_in_bytes schedules high_work_func() >> which tries to reclaim 32 pages. If cache generated fast enough or it allows >> cgroup to steadily grow above cache.limit

Re: [Devel] [PATCH rh7 v4] mm/memcg: fix cache growth above cache.limit_in_bytes

2020-07-30 Thread Evgenii Shatokhin
Hi, On 30.07.2020 18:02, Andrey Ryabinin wrote: Exceeding cache above cache.limit_in_bytes schedules high_work_func() which tries to reclaim 32 pages. If cache generated fast enough or it allows cgroup to steadily grow above cache.limit_in_bytes because we don't reclaim enough. Try to reclaim ex

[Devel] [PATCH rh7 v4] mm/memcg: fix cache growth above cache.limit_in_bytes

2020-07-30 Thread Andrey Ryabinin
Exceeding cache above cache.limit_in_bytes schedules high_work_func() which tries to reclaim 32 pages. If cache generated fast enough or it allows cgroup to steadily grow above cache.limit_in_bytes because we don't reclaim enough. Try to reclaim exceeded amount of cache instead. https://jira.sw.ru