Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2018 12:08:52 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328124 - stable/11/sys/amd64/amd64
Message-ID:  <201801181208.w0IC8qZ8066769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801181208.w0IC8qZ8066769>