HomeFreeBSD

Initialize eflags in fake frame to default value rather than random one.

Description

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.

Details

Provenance
David Xu <davidxu@FreeBSD.org>Authored on Mar 8 2003, 3:58 AM
Parents
rG6b1db7e808e9: New release note: Default kern.module_path no longer includes
Branches
Unknown
Tags
Unknown

Event Timeline