DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/sys thread.h src/sys/platform/pc32/i386 bcopy.s genassym.c src/sys/platform/pc32/isa npx.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 8 May 2008 23:35:12 -0700 (PDT)

dillon      2008/05/08 23:35:12 PDT

DragonFly src repository

  Modified files:
    sys/sys              thread.h 
    sys/platform/pc32/i386 bcopy.s genassym.c 
    sys/platform/pc32/isa npx.c 
  Log:
  Fix a nasty memory corruption issue which can occur due to the kernel bcopy's
  use of the FP unit.  If the destination address faults the NPX code can
  lose track of the fact that the kernel was using the FP unit.  When the
  fault is resolved the kernel bcopy resumes with corrupted FP registers.
  
  The most common situation where this could occur is with pipes, and generally
  only when the system is paging heavily and causing multiple processes to
  fault in the kernel FP bcopy code.
  
  Revision  Changes    Path
  1.92      +1 -0      src/sys/sys/thread.h
  1.10      +2 -0      src/sys/platform/pc32/i386/bcopy.s
  1.58      +2 -0      src/sys/platform/pc32/i386/genassym.c
  1.48      +5 -1      src/sys/platform/pc32/isa/npx.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.91&r2=1.92&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/bcopy.s.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/i386/genassym.c.diff?r1=1.57&r2=1.58&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/pc32/isa/npx.c.diff?r1=1.47&r2=1.48&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]