WARN_ON noise in 2.5.63's kernel/sched.c:context_switch

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Tue Feb 25 2003 - 01:35:22 EST


I'm getting a bunch of stack dumps from the WARN_ON newly added to
kernel/sched.c:context_switch:

        if (unlikely(!prev->mm)) {
                prev->active_mm = NULL;
                WARN_ON(rq->prev_mm);
                rq->prev_mm = oldmm;
        }

The thing is, I'm hacking on uClinux, so I don't have an MMU, and the mm
stuff is purely noise. What's the best way to squash this warning?

[Of course I'd like to just trash all the MM manipulation -- for me,
`context_switch' should really _just_ do `switch_to' -- but I'd settle
for just not having stack dumps litter my console output...]

Thanks,

-miles

-- 
80% of success is just showing up.  --Woody Allen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:27 EST