tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bug in softint_execute() ?
> On Apr 10, 2008, at 4:23 PM, Andrew Doran wrote:
> >
> > It's a bound kthread and should never migrate to another CPU. Are
> > you using
> > SCHED_M2? Having read the code recently I don't know how that could
> > happen.
> > Could you add KASSERTs on entry and exit that check for LW_BOUND
> > set in
> > l_flag? It may also be a good idea to add assertions that check
> > curlwp is
> > set correctly (IIRC, matches si->si_lwp).
> >
>
> cpu_switchto on powerpc wasn't updating l->l_cpu on cpu switches.
> I fixed that. :)
MI code updates l_cpu. it is not a job of cpu_switchto.
YAMAMOTO Takashi
Home |
Main Index |
Thread Index |
Old Index