From owner-cvs-all@FreeBSD.ORG Thu Sep 15 17:30:08 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C418C16A41F; Thu, 15 Sep 2005 17:30:08 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F15143D48; Thu, 15 Sep 2005 17:30:08 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8FHU8jt002385; Thu, 15 Sep 2005 17:30:08 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8FHU8Go002382; Thu, 15 Sep 2005 17:30:08 GMT (envelope-from jhb) Message-Id: <200509151730.j8FHU8Go002382@repoman.freebsd.org> From: John Baldwin Date: Thu, 15 Sep 2005 17:30:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 sys_machdep.c src/sys/i386/include pcb_ext.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 17:30:08 -0000 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