[PATCH 09/10] cpuset: allow to keep tasks in empty cpusets

Tejun Heo tj at kernel.org
Sun Apr 21 01:41:36 UTC 2013


Hello, Li.

On Sat, Apr 20, 2013 at 09:22:09AM +0800, Li Zefan wrote:
> > migration is being done.  Another approach would be converting cgroup
> > to use SRCU instead, which would lessen pain on other places too.  The
> > only problem there would be that srcu_read_lock() is a bit more
> > expensive than rcu_read_lock().  I'm not sure whether that'd show up
> > in some hot path or not.  Ideas?
> 
> I guess we can live with rcu_read_lock() for now, and see if we can
> change it to srcu when other significant changes are done in all
> cgroup controllers. (hierarchy support in blkcg, etc..)

Ooh, I'm almost done with converting blk-throttle to support hierarchy
as cfq is already ready, blkcg will be ready very soon.  The only
thing left to do in terms of hierarchy support would be internal
weight for cpu.  :)

Thanks.

-- 
tejun


More information about the Containers mailing list