Date: Fri, 7 Mar 2003 19:58:51 -0800 (PST) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 critical.c Message-ID: <200303080358.h283wpnV019403@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303080358.h283wpnV019403>
