diff options
author | Ingo Molnar <mingo@kernel.org> | 2018-11-22 09:34:03 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-11-22 09:38:13 +0100 |
commit | a2aa52ab16efbee40ad118ebac4a5e438f5b43ee (patch) | |
tree | a975096feafb49fc50f7c908bc5791beeb7cfd4f /include/asm-generic/pgtable.h | |
parent | a1a371c468f7238b7826fde55786b02377faf8e2 (diff) | |
download | linux-a2aa52ab16efbee40ad118ebac4a5e438f5b43ee.tar.gz linux-a2aa52ab16efbee40ad118ebac4a5e438f5b43ee.tar.bz2 linux-a2aa52ab16efbee40ad118ebac4a5e438f5b43ee.zip |
x86/fault: Clean up the page fault oops decoder a bit
- Make the oops messages a bit less scary (don't mention 'HW errors')
- Turn 'PROT USER' (which is visually easily confused with PROT_USER)
into individual bit descriptors: "[PROT] [USER]".
This also makes "[normal kernel read fault]" more apparent.
- De-abbreviate variables to make the code easier to read
- Use vertical alignment where appropriate.
- Add comment about string size limits and the helper function.
- Remove unnecessary line breaks.
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@surriel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Yu-cheng Yu <yu-cheng.yu@intel.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/asm-generic/pgtable.h')
0 files changed, 0 insertions, 0 deletions