Skip to content

Commit 3b3a926

Browse files
thejhIngo Molnar
authored andcommitted
x86/mm: Remove stale comment about KMEMCHECK
This comment referred to a conditional call to kmemcheck_hide() that was here until commit 4950276 ("kmemcheck: remove annotations"). Now that kmemcheck has been removed, it doesn't make sense anymore. Signed-off-by: Jann Horn <jannh@google.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180219175039.253089-1-jannh@google.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 842cef9 commit 3b3a926

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/mm/fault.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,10 +1248,6 @@ __do_page_fault(struct pt_regs *regs, unsigned long error_code,
12481248
tsk = current;
12491249
mm = tsk->mm;
12501250

1251-
/*
1252-
* Detect and handle instructions that would cause a page fault for
1253-
* both a tracked kernel page and a userspace page.
1254-
*/
12551251
prefetchw(&mm->mmap_sem);
12561252

12571253
if (unlikely(kmmio_fault(regs, address)))

0 commit comments

Comments
 (0)