cvs commit: src/sys/powerpc/include critical.h

Peter Grehan grehan at FreeBSD.org
Mon Aug 2 21:14:56 PDT 2004


grehan      2004-08-03 04:14:55 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/include  critical.h 
  Log:
  Remove race condition between reading of MSR, setting md_savecrit,
  and setting MSR. This was most evident with the idle proc running
  with interrupts disabled and causing a lockup. Switch over to the
  i386 style which does things in the right order.
  
  debug assisted by:  gallatin, and the invaluable KTR option.
  
  Revision  Changes    Path
  1.7       +2 -6      src/sys/powerpc/include/critical.h


More information about the cvs-src mailing list