Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154318160
D29024.id85013.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29024.id85013.diff
View Options
Index: sys/amd64/amd64/vm_machdep.c
===================================================================
--- sys/amd64/amd64/vm_machdep.c
+++ sys/amd64/amd64/vm_machdep.c
@@ -575,8 +575,6 @@
clear_pcb_flags(pcb2, PCB_FPUINITDONE | PCB_USERFPUINITDONE |
PCB_KERNFPU);
pcb2->pcb_save = get_pcb_user_save_pcb(pcb2);
- bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save,
- cpu_max_ext_state_size);
set_pcb_flags_raw(pcb2, PCB_FULL_IRET);
/*
@@ -604,7 +602,6 @@
/*
* If we didn't copy the pcb, we'd need to do the following registers:
* pcb2->pcb_dr*: cloned above.
- * pcb2->pcb_savefpu: cloned above.
* pcb2->pcb_onfault: cloned above (always NULL here?).
* pcb2->pcb_[fg]sbase: cloned above
*/
Index: sys/i386/i386/vm_machdep.c
===================================================================
--- sys/i386/i386/vm_machdep.c
+++ sys/i386/i386/vm_machdep.c
@@ -437,8 +437,6 @@
pcb2->pcb_flags &= ~(PCB_NPXINITDONE | PCB_NPXUSERINITDONE |
PCB_KERNNPX);
pcb2->pcb_save = get_pcb_user_save_pcb(pcb2);
- bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save,
- cpu_max_ext_state_size);
/*
* Create a new fresh stack for the new thread.
@@ -468,7 +466,6 @@
* If we didn't copy the pcb, we'd need to do the following registers:
* pcb2->pcb_cr3: cloned above.
* pcb2->pcb_dr*: cloned above.
- * pcb2->pcb_savefpu: cloned above.
* pcb2->pcb_flags: cloned above.
* pcb2->pcb_onfault: cloned above (always NULL here?).
* pcb2->pcb_gs: cloned above.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 28, 7:36 PM (2 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32301718
Default Alt Text
D29024.id85013.diff (1 KB)
Attached To
Mode
D29024: x86: Don't bother copying the FPU state for cpu_copy_thread().
Attached
Detach File
Event Timeline
Log In to Comment