Re: [PATCH] cpu hotplug, sched:Introduce cpu_active_map and redoscheddomainmanagment (take 2)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: <mingo@...>, <dmitry.adamushko@...>, <torvalds@...>, Max Krasnyansky <maxk@...>, <pj@...>, <linux-kernel@...>
Date: Friday, July 18, 2008 - 8:22 am

Hi Peter,

Peter Zijlstra <a.p.zijlstra@chello.nl> wrote: 

While I can appreciate this sentiment, note that we conceptually require
IMO the notion that the root-domain masks present.  E.g. we really dont
want to migrate to just cpus_active_map, but rather
rq->rd->span & cpus_active_map (otherwise we could route outside
of a disjoint cpuset).  And this is precisely what rq->rd->online is (a
cached version of cpus_active_map & rq->rd->span).

So while I can understand the motivation to keep things simple, note that
I tried to design the root-domain stuff to be as simple as possible while
still meeting the requirements for working within disjoint sets.  I am
open to other suggestions, but I see nothing particularly complex or
wrong with whats going on there currently.  Perhaps this very
conversation is evidence that I needed to comment better ;)


I think we would be doing the code that does use it a disservice, per above.

Regards,
-Greg


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

Messages in current thread:
Re: [PATCH] cpu hotplug, sched:Introduce cpu_active_map and ..., Gregory Haskins, (Fri Jul 18, 8:22 am)