svn commit: r347501 - head/sys/amd64/amd64
Mateusz Guzik
mjg at FreeBSD.org
Sun May 12 06:34:59 UTC 2019
Author: mjg
Date: Sun May 12 06:34:58 2019
New Revision: 347501
URL: https://svnweb.freebsd.org/changeset/base/347501
Log:
amd64: stop re-reading curpc in suword
Plugs re-reads missed in r341719
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/amd64/support.S
Modified: head/sys/amd64/amd64/support.S
==============================================================================
--- head/sys/amd64/amd64/support.S Sun May 12 06:32:46 2019 (r347500)
+++ head/sys/amd64/amd64/support.S Sun May 12 06:34:58 2019 (r347501)
@@ -1083,7 +1083,6 @@ ENTRY(suword_nosmap)
movq %rsi,(%rdi)
xorl %eax,%eax
- movq PCPU(CURPCB),%rcx
movq %rax,PCB_ONFAULT(%rcx)
POP_FRAME_POINTER
ret
@@ -1102,7 +1101,6 @@ ENTRY(suword_smap)
movq %rsi,(%rdi)
clac
xorl %eax,%eax
- movq PCPU(CURPCB),%rcx
movq %rax,PCB_ONFAULT(%rcx)
POP_FRAME_POINTER
ret
@@ -1119,7 +1117,6 @@ ENTRY(suword32_nosmap)
movl %esi,(%rdi)
xorl %eax,%eax
- movq PCPU(CURPCB),%rcx
movq %rax,PCB_ONFAULT(%rcx)
POP_FRAME_POINTER
ret
@@ -1138,7 +1135,6 @@ ENTRY(suword32_smap)
movl %esi,(%rdi)
clac
xorl %eax,%eax
- movq PCPU(CURPCB),%rcx
movq %rax,PCB_ONFAULT(%rcx)
POP_FRAME_POINTER
ret
More information about the svn-src-all
mailing list