Re: [PATCH 5/6] cgroup: s/for_each_subsys()/for_each_root_subsys()/

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

 



于 2013/6/22 9:34, Tejun Heo 写道:
> for_each_subsys() walks over subsystems attached to a hierarchy and
> we're gonna add iterators which walk over all available subsystems.
> Rename for_each_subsys() to for_each_root_subsys() so that it's more
> appropriately named and for_each_subsys() can be used to iterate all
> subsystems.
> 
> While at it, remove unnecessary underbar prefix from macro arguments,
> put them inside parentheses, and adjust indentation for the two
> for_each_*() macros.
> 
> This patch is purely cosmetic.
> 
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> ---
>  kernel/cgroup.c | 47 ++++++++++++++++++++++-------------------------
>  1 file changed, 22 insertions(+), 25 deletions(-)

Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers





[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux