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:
Michael Lotz
2006-04-29 22:10:04 +00:00
parent 4da35ea940
commit 2a03240eb1
8 changed files with 27 additions and 47 deletions
-6
View File
@@ -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);