1 May 2010 23:34
Re: current won't boot
Martin Husemann <martin <at> duskware.de>
2010-05-01 21:34:33 GMT
2010-05-01 21:34:33 GMT
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
<at> <at> -430,7 +430,7 <at> <at> uvm_scheduler(void)
lwp_unlock(l);
for (;;) {
- sched_pstats();
(void)kpause("uvm", false, hz, NULL);
+ sched_pstats();
}
}
RSS Feed