x86: Fix PTI comment in entry_SYSCALL_64
Subsystems (2)
PATCH 1/1 x86: Fix PTI comment in entry_SYSCALL_64
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 <[email protected]>
--- arch/x86/entry/entry_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/entry/entry_64.S +1 -1
@@ -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)
Signature · 1 line
2.14.1
tip-bot for Nadav Amit
merge bot[tip:x86/pti] x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
Commit-ID: 14b1fcc62043729d12e8ae00f8297ab2ffe9fa91 Gitweb: https://git.kernel.org/tip/14b1fcc62043729d12e8ae00f8297ab2ffe9fa91 Author: Nadav Amit <[email protected]> AuthorDate: Fri, 9 Feb 2018 09:06:38 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Sat, 10 Feb 2018 12:44:51 +0100
x86/mm/pti: Fix PTI comment in entry_SYSCALL_64()
The comment is confusing since the path is taken when CONFIG_PAGE_TABLE_ISOLATION=y is disabled (while the comment says it is not taken).
Signed-off-by Nadav Amit <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Arjan van de Ven <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Dan Williams <[email protected]>
Cc Dave Hansen <[email protected]>
Cc David Woodhouse <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/entry/entry_64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/entry/entry_64.S +1 -1
@@ -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)