* [PATCH] x86/mm: kill stray kernel fault handling comment
@ 2018-10-19 14:08 Dave Hansen
2018-10-21 9:00 ` [tip:x86/mm] x86/mm: Kill " tip-bot for Dave Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Dave Hansen @ 2018-10-19 14:08 UTC (permalink / raw)
To: linux-kernel
Cc: Dave Hansen, ebiederm, x86, jannh, sean.j.christopherson, tglx,
luto, mingo
I originally tried to send this a couple days ago, but does not
appear to have made it to LKML. Sorry if it's a duplicate.
--
From: Dave Hansen <dave.hansen@linux.intel.com>
I originally had matching user and kernel comments, but the kernel
one got improved. Some errant conflict resolution kicked the commment
somewhere wrong. Kill it.
Fixes: aa37c51b94 ("x86/mm: Break out user address space handling")
Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: x86@kernel.org
Cc: Jann Horn <jannh@google.com>
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
---
b/arch/x86/mm/fault.c | 1 -
1 file changed, 1 deletion(-)
diff -puN arch/x86/mm/fault.c~x86-mm-kill-stray-kernel-fault-handling-comment arch/x86/mm/fault.c
--- a/arch/x86/mm/fault.c~x86-mm-kill-stray-kernel-fault-handling-comment 2018-10-19 07:06:22.954631596 -0700
+++ b/arch/x86/mm/fault.c 2018-10-19 07:06:22.959631596 -0700
@@ -963,7 +963,6 @@ bad_area_access_error(struct pt_regs *re
__bad_area(regs, error_code, address, vma, SEGV_ACCERR);
}
-/* Handle faults in the kernel portion of the address space */
static void
do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address,
u32 *pkey, unsigned int fault)
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/mm] x86/mm: Kill stray kernel fault handling comment
2018-10-19 14:08 [PATCH] x86/mm: kill stray kernel fault handling comment Dave Hansen
@ 2018-10-21 9:00 ` tip-bot for Dave Hansen
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Dave Hansen @ 2018-10-21 9:00 UTC (permalink / raw)
To: linux-tip-commits
Cc: mingo, peterz, torvalds, luto, jannh, dave.hansen, tglx,
linux-kernel, hpa, ebiederm, sean.j.christopherson
Commit-ID: 162041425193602b15774c61740ad8e7dc157df3
Gitweb: https://git.kernel.org/tip/162041425193602b15774c61740ad8e7dc157df3
Author: Dave Hansen <dave.hansen@linux.intel.com>
AuthorDate: Fri, 19 Oct 2018 07:08:42 -0700
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Sun, 21 Oct 2018 10:58:10 +0200
x86/mm: Kill stray kernel fault handling comment
I originally had matching user and kernel comments, but the kernel
one got improved. Some errant conflict resolution kicked the commment
somewhere wrong. Kill it.
Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Jann Horn <jannh@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: aa37c51b94 ("x86/mm: Break out user address space handling")
Link: http://lkml.kernel.org/r/20181019140842.12F929FA@viggo.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/mm/fault.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index a16652982f98..bd047438d23d 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -963,7 +963,6 @@ bad_area_access_error(struct pt_regs *regs, unsigned long error_code,
__bad_area(regs, error_code, address, vma, SEGV_ACCERR);
}
-/* Handle faults in the kernel portion of the address space */
static void
do_sigbus(struct pt_regs *regs, unsigned long error_code, unsigned long address,
u32 *pkey, unsigned int fault)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-10-21 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-19 14:08 [PATCH] x86/mm: kill stray kernel fault handling comment Dave Hansen
2018-10-21 9:00 ` [tip:x86/mm] x86/mm: Kill " tip-bot for Dave Hansen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).