Re: [PATCH 3/3] mm: memcontrol: fix cgroup creation failure after many small jobs
From: Tejun Heo <tj@kernel.org>
Date: 2016-06-17 18:18:52
Also in:
cgroups, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2016-06-17 18:18:52
Also in:
cgroups, lkml
On Fri, Jun 17, 2016 at 12:25:16PM -0400, Johannes Weiner wrote:
The memory controller has quite a bit of state that usually outlives the cgroup and pins its CSS until said state disappears. At the same time it imposes a 16-bit limit on the CSS ID space to economically store IDs in the wild. Consequently, when we use cgroups to contain frequent but small and short-lived jobs that leave behind some page cache, we quickly run into the 64k limitations of outstanding CSSs. Creating a new cgroup fails with -ENOSPC while there are only a few, or even no user-visible cgroups in existence.
Acked-by: Tejun Heo <tj@kernel.org> Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>