cvs commit: src/sys/i386/i386 sys_machdep.c src/sys/i386/include pcb_ext.h

John Baldwin jhb at
Thu Sep 15 10:30:08 PDT 2005

jhb         2005-09-15 17:30:08 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        sys_machdep.c 
    sys/i386/include     pcb_ext.h 
  Explicitly switch to the new TSS by updating the current CPU's TSS selector
  and reloading it in i386_extend_pcb() rather than trying to force a context
  switch to reload the TSS via the TDF_NEEDRESCHED flag.  Optimizations to
  avoid calling cpu_switch() when the new thread was identical to the old
  thread defeated the attempt to force a TSS reload.  Explicitly loading the
  new TSS is what we really want to do anyway.
  PR:             i386/84842
  Reported by:    Alexander Best arundel at h3c dot de
  MFC after:      1 week
  Reviewed by:    bde (mostly)
  Revision  Changes    Path
  1.103     +6 -4      src/sys/i386/i386/sys_machdep.c
  1.10      +1 -0      src/sys/i386/include/pcb_ext.h

More information about the cvs-src mailing list