cvs commit: src/sys/amd64/amd64 exception.S

Peter Wemm peter at FreeBSD.org
Wed May 7 17:05:01 PDT 2003


peter       2003/05/07 17:05:00 PDT

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      exception.S 
  Log:
  Fix a preemption race.  I was reenabling interrupts in the fast system
  call handler before it was safe.  It was possible for to lose context
  and for something else to clobber the PCPU scratch variable.  This
  moves the interrupt enable *way* too late, but its better safe than
  sorry for the moment.
  
  Revision  Changes    Path
  1.106     +1 -1      src/sys/amd64/amd64/exception.S


More information about the cvs-all mailing list