On 2/8/19 2:19 PM, Konstantin Khorenko wrote:
> If we generate a lot of kmem (dentries and inodes in particular)
> we may hit cgroup kmem limit in GFP_NOFS context (e.g. in
> ext4_alloc_inode()) and fail to free reclaimable inodes due to NOFS
> context.
> 
> Detect reclaimable kmem on hitting the limit and allow to bypass the
> limit - reclaim will happen on next kmem alloc in GFP_KERNEL context.
> 
> Honor "vm.vfs_cache_min_ratio" sysctl and don't bypass in case the
> amount of reclaimable kmem is not enough.
> 
> https://jira.sw.ru/browse/PSBM-91566
> 
> Signed-off-by: Konstantin Khorenko <khore...@virtuozzo.com>
> ---

Acked-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to