]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Fix exception table comments
authorDave Hansen <dave.hansen@linux.intel.com>
Fri, 28 Sep 2018 16:02:27 +0000 (09:02 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 9 Oct 2018 14:51:16 +0000 (16:51 +0200)
commitab81f3c73e0ddae00c4de04a55da7abce8cf1b9b
tree559de57ba437c0a6afbd034811deeda5505fdf31
parent951ae8221518f3cb445e47d4d7dce9bf209467f1
x86/mm: Fix exception table comments

The comments here are wrong.  They are too absolute about where
faults can occur when running in the kernel.  The comments are
also a bit hard to match up with the code.

Trim down the comments, and make them more precise.

Also add a comment explaining why we are doing the
bad_area_nosemaphore() path here.

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>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180928160227.077DDD7A@viggo.jf.intel.com
arch/x86/mm/fault.c