[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ba7d8f720804211238q114c2ffal902e8b5e3dccd881@mail.gmail.com>
Date: Mon, 21 Apr 2008 15:38:39 -0400
From: "Dan Upton" <upton.dan.linux@...il.com>
To: "Dmitry Adamushko" <dmitry.adamushko@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: migration thread and active_load_balance
On Mon, Apr 21, 2008 at 7:03 AM, Dmitry Adamushko
<dmitry.adamushko@...il.com> wrote:
> On 21/04/2008, Dan Upton <upton.dan.linux@...il.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
Download attachment "thermdiff" of type "application/octet-stream" (34719 bytes)
Powered by blists - more mailing lists