[Devel] [PATCH rh7 2/2] mm/memcg: reclaim only kmem if kmem limit reached.
aryabinin at virtuozzo.com
Mon Aug 28 12:50:29 MSK 2017
On 08/28/2017 12:02 PM, Stanislav Kinsburskiy wrote:
> 25.08.2017 18:38, Andrey Ryabinin пишет:
>> If kmem limit on memcg reached, we go into memory reclaim,
>> and reclaim everything we can, including page cache and anon.
>> Reclaiming page cache or anon won't help since we need to lower
>> only kmem usage. This patch fixes the problem by avoiding
>> non-kmem reclaim on hitting the kmem limit.
> Can't there be a situation, when some object in anon mem or page cache holds some object in kmem (indirectly)?
None that I know of.
More information about the Devel