Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2003 03:44:24 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/isa apic_vector.s
Message-ID:  <200310161044.h9GAiOpF073056@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310161044.h9GAiOpF073056>