Re: [PATCH 3/3] mm: memcontrol: fix cgroup creation failure after many small jobs
From: Tejun Heo
Date: Fri Jun 17 2016 - 14:18:54 EST
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@xxxxxxxxxx>
Thanks.
--
tejun