14 Jun 2007 19:54
Re: yamt-idlelwp fallout for mips/cobalt?
Michael L. Hitch <mhitch <at> lightning.msu.montana.edu>
2007-06-14 17:54:39 GMT
2007-06-14 17:54:39 GMT
On Fri, 25 May 2007, Izumi Tsutsui wrote: > The following patch makes a LOCKDEBUG kernel work, > but I don't know if it's really correct. I don't think it's correct. This was changed several years ago (starting with revision 1.175) because kernel threads would start and run with interrupts disabled. I had the same problem with my amiga (m68k) not all that long ago because I had added a raidframe drive and was getting lots of clock skew when parity rebuilding was going on. I finally figured out that the raidframe thread was running with interrupts blocked, and started looking at several other ports to see how they started kthread processes and found that they had the same problem, but had fixed for several years. Looking back in the mail archives, this seems to be an attempt to fix a locking against myself panic, so I suspect it's more likely a locking error somewhere. I remember that the m68k port had a similar problem when running a DIAGNOSTIC kernel (which I had not tested at the time), and I tracked down a small section of code I had missed for the idlelwp changes. > Index: arch/mips/mips/vm_machdep.c > =================================================================== > RCS file: /cvsroot/src/sys/arch/mips/mips/vm_machdep.c,v > retrieving revision 1.117 > diff -u -r1.117 vm_machdep.c > --- arch/mips/mips/vm_machdep.c 17 May 2007 14:51:25 -0000 1.117 > +++ arch/mips/mips/vm_machdep.c 25 May 2007 14:47:42 -0000 > <at> <at> -170,7 +170,9 <at> <at>(Continue reading)
RSS Feed