Re: [PATCH -V4 09/10] memcg: move HugeTLB resource count to parent cgroup on memcg removal

From: Aneesh Kumar K.V
Date: Mon Mar 19 2012 - 05:15:50 EST


On Mon, 19 Mar 2012 12:04:56 +0900, KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> (2012/03/17 2:39), Aneesh Kumar K.V wrote:
>
> > From: "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx>
> >
> > This add support for memcg removal with HugeTLB resource usage.
> >
> > Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx>
>
>
> seems ok for now.
>
> Now, Tejun and Costa, and I are discussing removeing -EBUSY from rmdir().
> We're now considering 'if use_hierarchy=false and parent seems full,
> reclaim all or move charges to the root cgroup.' then -EBUSY will go away.
>
> Is it accesptable for hugetlb ? Do you have another idea ?
>

That should work even for hugetlb.

-aneesh

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/