diff options
author | Ingo Molnar <[email protected]> | 2018-11-22 09:34:03 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-11-22 09:38:13 +0100 |
commit | a2aa52ab16efbee40ad118ebac4a5e438f5b43ee (patch) | |
tree | a975096feafb49fc50f7c908bc5791beeb7cfd4f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | a1a371c468f7238b7826fde55786b02377faf8e2 (diff) |
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 <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Yu-cheng Yu <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions