Dave Hansen wrote:
On Thu, 2004-07-15 at 20:03, Nick Piggin wrote:
It shouldn't because sched_init sets up dummy domains for
all runqueues.
Obviously something is going wrong somewhere though.
Hmmm, but there still might be some concurrency problems, right? There
isn't any locking while the setup is being done, so are all of the
intermediate initialization states valid? Or, could one of the CPUs be
catching the init code in the middle of an operation?
cpu_attach_domain is supposed to be able to do the switchover
without any races.