cvs commit: src/sys/i386/i386 swtch.s

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 20 01:23:00 PST 2004


dillon      2004/12/20 01:21:18 PST

DragonFly src repository

  Modified files:
    sys/i386/i386        swtch.s 
  Log:
  Remove bogus DIAGNOSTIC code that checked if the process was SZOMB or SRUN
  during cpu_heavy_restore().  In fact, the process structure may be in
  virtually any state since a preemption will call the restore function to
  return to the preempted thread.  The process state is really more a
  function of the userland scheduler and not so much related to the LWKT
  scheduler.
  
  Revision  Changes    Path
  1.36      +4 -18     src/sys/i386/i386/swtch.s


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/swtch.s.diff?r1=1.35&r2=1.36&f=u





More information about the Commits mailing list