Date: Thu, 15 Sep 2005 17:30:08 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 sys_machdep.c src/sys/i386/include pcb_ext.h Message-ID: <200509151730.j8FHU8Go002382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 
  Log:
  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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509151730.j8FHU8Go002382>
