Messages in this thread | | | Date | Mon, 21 Apr 2008 15:38:39 -0400 | From | "Dan Upton" <> | Subject | Re: migration thread and active_load_balance |
| |
On Mon, Apr 21, 2008 at 7:03 AM, Dmitry Adamushko <dmitry.adamushko@gmail.com> wrote: > On 21/04/2008, Dan Upton <upton.dan.linux@gmail.com> wrote: > > [ ... ] > > > > > kernel BUG at kernel/sched.c:2103 > > and what's this line in your patched sched.c? > > is it -- BUG_ON(!irqs_disabled()); ? > > anything in your unposted code (e.g. find_coolest_cpu()) that might > re-enable the interrupts before __migration_task() is called? > > If you post your modifications as a patch > (Documentation/applying-patches.txt) that contains _all_ relevant > modifications, it'd be easier to guess what's wrong.
Yes, that's the line. I don't recall ever reenabling interrupts, but maybe somebody will see what I'm missing. I've attached a full diff; there are a few other places I've made changes for other scheduling stuff that you'll see in the diff, that have all tested fine.
-dan [unhandled content-type:application/octet-stream] | |