Re: [PATCH] cgroup: remove bind() method from cgroup_subsys.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cc: Galuber

On 2013/4/11 1:50, Tejun Heo wrote:
>>From 84cfb6ab484b442d5115eb3baf9db7d74a3ea626 Mon Sep 17 00:00:00 2001
> From: Rami Rosen <ramirose@xxxxxxxxx>
> Date: Wed, 10 Apr 2013 14:41:17 +0300
> 
> The bind() method of cgroup_subsys is not used in any of the
> controllers (cpuset, freezer, blkio, net_cls, memcg, net_prio,
> devices, perf, hugetlb, cpu and cpuacct)
> 

I remember Glauber once used the bind() callback to detect if cpuacct and
cpu are mounted together and if so do some optimization.

Then he gave up on it and just deprecated cpuacct, but then it was decided
that it can't be decprecated and removed as that will break userspace.

So mayber Glauber will want to use this callback again?

> tj: Removed the entry on ->bind() from
>     Documentation/cgroups/cgroups.txt.  Also updated a couple
>     paragraphs which were suggesting that dynamic re-binding may be
>     implemented.  It's not gonna.
> 
> Signed-off-by: Rami Rosen <ramirose@xxxxxxxxx>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> ---
> Applied to cgroup/for-3.10 with documentation updated.
> 

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux