Re: [PATCH v2 6/6] cgroup: implement for_each_[builtin_]subsys()

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

 



On Tue, Jun 25, 2013 at 09:35:39AM +0800, Li Zefan wrote:
> 于 2013/6/25 8:22, Tejun Heo 写道:
> > There are quite a few places where all loaded [builtin] subsys are
> > iterated.  Implement for_each_[builtin_]subsys() and replace manual
> > iterations with those to simplify those places a bit.  The new
> > iterators automatically skip NULL subsystems.  This shouldn't cause
> > any functional difference.
> > 
> > Iteration loops which scan all subsystems and then skipping modular
> > ones explicitly are converted to use for_each_builtin_subsys().
> > 
> > While at it, reorder variable declarations and adjust whitespaces a
> > bit in the affected functions.
> > 
> > v2: Add lockdep_assert_held() in for_each_subsys() and add comments
> >     about synchronization as suggested by Li.
> > 
> > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> 
> Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

Applied 5.5 and 6 to cgroup/for-3.11.

Thanks.

-- 
tejun
--
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