cvs commit: src/sys/i386/isa apic_vector.s

Bruce Evans bde at FreeBSD.org
Thu Oct 16 03:44:25 PDT 2003


bde         2003/10/16 03:44:24 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/isa         apic_vector.s 
  Log:
  Don't forget to load %es with the kernel data segment selector in
  Xcpustop().  %es is used in at least the call to savectx() when savectx()
  calls bcopy(), so not loading it was fatal if a stop IPI interrupts
  user mode.
  
  This reduces bugs starting and stopping CPUs for debuggers.  CPUs are
  stopped mainly in kdb_trap() and cpu_reset().  At reset time there is
  a good chance that all the CPUs are in the kernel, so the bug was
  probably harmless then.
  
  Revision  Changes    Path
  1.90      +3 -0      src/sys/i386/isa/apic_vector.s


More information about the cvs-src mailing list