From owner-cvs-src Fri Mar 7 19:58:53 2003 Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9D7D37B401; Fri, 7 Mar 2003 19:58:51 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CA4B43F3F; Fri, 7 Mar 2003 19:58:51 -0800 (PST) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h283wp0U019404; Fri, 7 Mar 2003 19:58:51 -0800 (PST) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h283wpnV019403; Fri, 7 Mar 2003 19:58:51 -0800 (PST) Message-Id: <200303080358.h283wpnV019403@repoman.freebsd.org> From: David Xu Date: Fri, 7 Mar 2003 19:58:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 critical.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-src@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG davidxu 2003/03/07 19:58:51 PST FreeBSD src repository Modified files: sys/i386/i386 critical.c Log: Initialize eflags in fake frame to default value rather than random one. The random value sometimes causes macro CLKF_USERMODE to return true because PSL_VM bit is set and really shoudn't be, this causes statclock() to execute in wrong path, and further breaks KSE code and kernel crashes when executing threaded program. Revision Changes Path 1.8 +1 -0 src/sys/i386/i386/critical.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-src" in the body of the message