Re: SMP Panic caused by [PATCH] sched: consolidate sched domains

From: Matthew Dobson
Date: Mon Aug 30 2004 - 14:14:07 EST


On Sun, 2004-08-29 at 10:16, James Bottomley wrote:
> On Sun, 2004-08-29 at 13:07, Jesse Barnes wrote:
> > I've up and downed a few CPUs on an Altix, and it seems to work ok, but that's
> > a pretty basic test. How about this?
>
> Well, like I told Bill. It's not a priori correct because now you're
> altering runtime behaviour.
>
> It may, in fact, work because if the runtime users have an additional
> restriction to online cpus, but that's not a given ... have you audited
> the code for this?
>
> James

Yeah, I don't think that patch will work so well, unless we're very
careful to mask the return values of node_to_cpumask() and
pcibus_to_cpumask() against cpu_online_map where appropriate. There are
certainly callers of these function who are expecting a map containing
online cpus.

-Matt

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