Reverted my last change as it turned out that the lazy FPU state handling was not SMP safe afterall and the performance gain is questionable. Maybe it'll be implemented correctly in the future. Sorry for any inconvenience this may have cost.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17272 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -872,12 +872,6 @@ thread_exit2(void *_args)
|
||||
user_debug_thread_deleted(args.original_team_id, args.thread->id);
|
||||
}
|
||||
|
||||
// remove us as the fpu state owner if we are one
|
||||
if (args.thread->fpu_cpu) {
|
||||
args.thread->fpu_cpu->info.fpu_state_thread = NULL;
|
||||
args.thread->fpu_cpu = NULL;
|
||||
}
|
||||
|
||||
// return the death stack and reschedule one last time
|
||||
put_death_stack_and_reschedule(args.death_stack);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user