[PATCH 07/10] cgroup: remove cgroup_add_file[s]()

Aneesh Kumar K.V aneesh.kumar at linux.vnet.ibm.com
Tue Mar 20 08:47:51 UTC 2012


Tejun Heo <tj at kernel.org> writes:

> No controller is using cgroup_add_files[s]().  Unexport them, and
> convert cgroup_add_files() to handle NULL entry terminated array
> instead of taking count explicitly and continue creation on failure
> for internal use.
>

I am planning to use that in the HugeTLB extension of memcg.

http://article.gmane.org/gmane.linux.kernel.mm/75470

We need to have different limit and usage file for different HugeTLB
page size supported.

-aneesh



More information about the Containers mailing list