Messages in this thread | | | Date | Mon, 4 Aug 2008 22:56:36 -0500 | From | Paul Jackson <> | Subject | Re: [PATCH] cpuset: Rework sched domains and CPU hotplug handling (2.6.27-rc1) |
| |
Max wrote: > Actually it is appropriate, and there is one more user of the > arch_reinit_sched_domains() which is S390 topology updates. > Those things (mc_power and topology updates) have to update domain flags based > on the mc/smt power and current topology settings.
Hmmm ... ok I suppose.
Could we have the kernel/sched.c code, in this case, call the kernel/cpuset.c routine async_rebuild_sched_domains(), rather than the synchronous rebuild_sched_domains() call (in your naming) which required details of the get_online_cpus() and put_online_cpus() wrapping to leak into kernel/sched.c:arch_reinit_sched_domains() routine?
-- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.940.382.4214
| |