Re: [patch 2/2] cpu hotplug notifier for updating sched domains

From: Nathan Lynch
Date: Tue Sep 07 2004 - 22:01:26 EST


On Tue, 2004-09-07 at 21:19, Nick Piggin wrote:
> Nathan Lynch wrote:
>
> >On Tue, 2004-09-07 at 19:44, Nick Piggin wrote:
> >>and get rid of everywhere I had been doing cpus_and(tmp, ...,
> >>cpu_online_map).
> >>
>
> ^^^ This should still be done, of course. That can come later.
>
> >>This may also make your patch 1/2 unnecessary? What do you think?
> >>
> >
> >Well, we have to "lie" to arch_init_sched_domains a little bit when
> >bringing a cpu online, by setting the soon-to-be-online cpu's bit in the
> >argument mask. So I think the first patch is still necessary.
> >
> >
>
> Can't we do everything in the CPU_UP_ONLINE case though?

I guess I overlooked that possibility. I'll give it a try. If it works
ok, the first patch can go.

Nathan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/