mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
amd64: remove lfence after swapgs on syscall entry
(cherry picked from commit 7aa47cace1)
This commit is contained in:
parent
c59594cb30
commit
ebc0d29e14
1 changed files with 0 additions and 2 deletions
|
|
@ -525,7 +525,6 @@ prot_addrf:
|
|||
SUPERALIGN_TEXT
|
||||
IDTVEC(fast_syscall_pti)
|
||||
swapgs
|
||||
lfence
|
||||
cmpq $~0,PCPU(UCR3)
|
||||
je fast_syscall_common
|
||||
movq %rax,PCPU(SCRATCH_RAX)
|
||||
|
|
@ -536,7 +535,6 @@ IDTVEC(fast_syscall_pti)
|
|||
SUPERALIGN_TEXT
|
||||
IDTVEC(fast_syscall)
|
||||
swapgs
|
||||
lfence
|
||||
fast_syscall_common:
|
||||
movq %rsp,PCPU(SCRATCH_RSP)
|
||||
movq PCPU(RSP0),%rsp
|
||||
|
|
|
|||
Loading…
Reference in a new issue