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