cvs commit: src/sys/i386/i386 mp_machdep.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Apr 25 17:31:14 PDT 2005


dillon      2005/04/25 17:30:00 PDT

DragonFly src repository

  Modified files:
    sys/i386/i386        mp_machdep.c 
  Log:
  Fix an SMP bug.  The SMP startup code waits for the APs to finish
  initializing and goes through an interlock with the BGL.  Unfortunately,
  it does not properly restore the BGL when it finishes.  This can cause
  the system to lock-up on boot (spin trying to get a broken BGL) just
  after finishing the AP initialization.  Additionally, this resulted in the
  swapper thread running without the BGL.
  
  Revision  Changes    Path
  1.34      +1 -1      src/sys/i386/i386/mp_machdep.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/mp_machdep.c.diff?r1=1.33&r2=1.34&f=u





More information about the Commits mailing list