mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: Fix PTI comment in entry_SYSCALL_64
@ 2018-02-09 17:06 Nadav Amit
  2018-02-11 12:07 ` [tip:x86/pti] x86/mm/pti: Fix PTI comment in entry_SYSCALL_64() tip-bot for Nadav Amit
  0 siblings, 1 reply; 2+ messages in thread
From: Nadav Amit @ 2018-02-09 17:06 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: H. Peter Anvin, x86, Andy Lutomirski, linux-kernel, nadav.amit,
	Nadav Amit

The comment is confusing since the path is taken when
PAGE_TABLE_ISOLATION is disabled (while the comment says it is not
taken).

Signed-off-by: Nadav Amit <namit@vmware.com>
---
 arch/x86/entry/entry_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S
index 4a9bef6aca34..f4d4107a93b3 100644
--- a/arch/x86/entry/entry_64.S
+++ b/arch/x86/entry/entry_64.S
@@ -213,7 +213,7 @@ ENTRY(entry_SYSCALL_64)
 
 	swapgs
 	/*
-	 * This path is not taken when PAGE_TABLE_ISOLATION is disabled so it
+	 * This path is only taken when PAGE_TABLE_ISOLATION is disabled so it
 	 * is not required to switch CR3.
 	 */
 	movq	%rsp, PER_CPU_VAR(rsp_scratch)
-- 
2.14.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-11 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-09 17:06 [PATCH] x86: Fix PTI comment in entry_SYSCALL_64 Nadav Amit
2018-02-11 12:07 ` [tip:x86/pti] x86/mm/pti: Fix PTI comment in entry_SYSCALL_64() tip-bot for Nadav Amit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome