[patch] mmu_context_init needs to run earlier

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Nov 2 17:05:11 EST 2004


On Mon, 2004-11-01 at 23:59 -0600, Nathan Lynch wrote:
> On Tue, 2004-11-02 at 15:47 +1100, Benjamin Herrenschmidt wrote:
> > Do you have a backtrace of who is trying to get a context that
> > early ?
> > 
> > If it's some call of usermode helpers, I doubt it's very sane to do that
> > before the arch initcalls have run ! It would be interesting to know who
> > is triggering it.
> > 
> 
> Sure, I inserted a WARN_ON in init_new_context.  I see several of these
> before hitting the BUG_ON in mmu_context_init.  I'm assuming these are
> from the driver core trying to run /sbin/hotplug.

Yah. It would be interesting to find out who is triggering those calls
(what drivers are probed that early during boot). It doesn't happen on
my g5 for some reason.

Ben.





More information about the Linuxppc64-dev mailing list