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

Matthew Dillon dillon at
Thu May 8 23:37:53 PDT 2008

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 
  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

More information about the Commits mailing list