Page MenuHomeFreeBSD

D61713.1795105050.diff
No OneTemporary

Authored By
Unknown
Size
619 B
Referenced Files
None
Subscribers
None

D61713.1795105050.diff

diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -299,6 +299,15 @@
ctx_switch_xsave32:
xsave (%r9)
jmp ctx_switch_xsave_done
+
+ /* Wait for the new thread to become unblocked */
+sw1wait:
+1:
+ pause
+ movq TD_LOCK(%r12),%rcx
+ cmpq %rcx, %rdx
+ je 1b
+ jmp sw1cont
END(cpu_switch)
/*
@@ -554,13 +563,4 @@
ret
END(resumectx)
-/* Wait for the new thread to become unblocked */
-sw1wait:
-1:
- pause
- movq TD_LOCK(%r12),%rcx
- cmpq %rcx, %rdx
- je 1b
- jmp sw1cont
-
.section .note.GNU-stack,"",%progbits

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 19, 4:17 PM (21 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41846969
Default Alt Text
D61713.1795105050.diff (619 B)

Event Timeline