Messages in this thread |  | | | Date | Wed, 08 Sep 2004 10:44:08 +1000 | | From | Nick Piggin <> | | Subject | Re: [patch 2/2] cpu hotplug notifier for updating sched domains |
| |
nathanl@austin.ibm.com wrote:
>Register a cpu hotplug notifier which reinitializes the scheduler >domains hierarchy. The notifier temporarily attaches all running cpus >to a "dummy" domain (like we currently do during boot) to avoid >balancing. It then calls arch_init_sched_domains which rebuilds the >"real" domains and reattaches the cpus to them. > >Also change __init attributes to __devinit where necessary. > >Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com> >
Thanks Nathan, this looks great.
I think the next step is to now make the setup code only use cpu_online_map and get rid of everywhere I had been doing cpus_and(tmp, ..., cpu_online_map). This may also make your patch 1/2 unnecessary? What do you think?
Nick
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |