Port-mac68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: current won't boot



This simple patch works around the problem for me - I think this points
to some bad initialization in pmap_bootstrap that somehow (accidently)
is undone on first context switch.

Hauke, does this work for you too?

Martin
Index: uvm_glue.c
===================================================================
RCS file: /cvsroot/src/sys/uvm/uvm_glue.c,v
retrieving revision 1.145
diff -u -p -r1.145 uvm_glue.c
--- uvm_glue.c  16 Apr 2010 03:21:49 -0000      1.145
+++ uvm_glue.c  1 May 2010 21:32:10 -0000
@@ -430,7 +430,7 @@ uvm_scheduler(void)
        lwp_unlock(l);
 
        for (;;) {
-               sched_pstats();
                (void)kpause("uvm", false, hz, NULL);
+               sched_pstats();
        }
 }


Home | Main Index | Thread Index | Old Index