Re: [patch] sched-HT-2.6.0-test11-A5
From: Ingo Molnar
Date: Mon Dec 08 2003 - 13:00:58 EST
On Mon, 8 Dec 2003, Anton Blanchard wrote:
> running on cpu 1
> mapping CPU#1's runqueue to CPU#0's runqueue.
> kernel BUG in sched_map_runqueue at kernel/sched.c:1460!
>
> ie:
>
> BUG_ON(rq1 == rq2 || rq2->nr_running || rq_idx(cpu1) != cpu1);
> ^^^
>
> We should bounce ourselves off cpu2 before merging the runqueues.
hm, a bad assumption about where the boot code runs. Could you try to just
do something like this prior that BUG_ON():
set_cpus_allowed(current, cpumask_of_cpu(cpu1));
does this fix the crash?
Ingo
-
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/