Date: Sat, 27 Jan 2001 19:41:01 -0800 (PST) From: Bosko Milekic <bmilekic@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 mp_machdep.c Message-ID: <200101280341.f0S3f1s35766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bmilekic 2001/01/27 19:41:01 PST Modified files: sys/i386/i386 mp_machdep.c Log: Move the setting of curproc to idleproc up earlier in ap_init(). The problem is that a mutex lock, prior to this change, is acquired before the curproc is set to idleproc, so we mess ourselves up by calling the mutex lock routine with curproc == NULL. Moving it up after the aps_ready spin-wait has us hopefully setting it after idleproc is setup. Solved by: jake (the allmighty) :-) Revision Changes Path 1.143 +7 -7 src/sys/i386/i386/mp_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101280341.f0S3f1s35766>