svn commit: r328124 - stable/11/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Thu Jan 18 12:08:53 UTC 2018


Author: kib
Date: Thu Jan 18 12:08:52 2018
New Revision: 328124
URL: https://svnweb.freebsd.org/changeset/base/328124

Log:
  MFC r327819:
  Do not redundantly clear %RFLAGS.DF on fast syscall entry.

Modified:
  stable/11/sys/amd64/amd64/exception.S
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/amd64/exception.S
==============================================================================
--- stable/11/sys/amd64/amd64/exception.S	Thu Jan 18 12:07:37 2018	(r328123)
+++ stable/11/sys/amd64/amd64/exception.S	Thu Jan 18 12:08:52 2018	(r328124)
@@ -410,7 +410,6 @@ IDTVEC(fast_syscall)
 	movq	%r14,TF_R14(%rsp)	/* C preserved */
 	movq	%r15,TF_R15(%rsp)	/* C preserved */
 	movl	$TF_HASSEGS,TF_FLAGS(%rsp)
-	cld
 	FAKE_MCOUNT(TF_RIP(%rsp))
 	movq	PCPU(CURTHREAD),%rdi
 	movq	%rsp,TD_FRAME(%rdi)


More information about the svn-src-all mailing list