The copied state never gets used since the FPU INITDONE flags are
always cleared in the new threads causing the first DNA trap to
overwrite the saved state with the appropriate initial state.
Details
Details
- Reviewers
kib
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 37516 Build 34405: arc lint + arc unit
Event Timeline
Comment Actions
So now I'm a bit torn on this due to the language for pthread_create() I found in the other review. If the "floating point environment" includes register values, then what we should be doing here instead is avoid clearing the INITDONE flags in the pcb for cpu_copy_thread().