Re: [RFC][PATCH] CPUSets: Move most calls to rebuild_sched_domains() to the workqueue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Max Krasnyansky
Date: Friday, June 27, 2008 - 10:31 am

Paul Menage wrote:
Yes that's what I meant by "not sure if it's still valid" I looked at 
the code and it did not look like callback_mutex protected overall 
hierarchy. Thanx for confirming that.

Sounds good.

Can that be just an atomic refcount ?

Sounds good.

Agree

Yes. Although that basically means that we always have to take 
cpu_hotplug.lock before hierarchy lock.

I like the proposal in general. Specifically for the 
rebuild_sched_domain() I'm now thinking that maybe we can get away with 
not involving cpuset at all. I think that what Peter meant originally. 
I'll send more thoughts on this separately.

Max

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH] CPUSets: Move most calls to rebuild_sched ..., Max Krasnyansky, (Fri Jun 27, 10:31 am)