diff options
author | 2025-03-27 23:46:26 +0000 | |
---|---|---|
committer | 2025-04-01 22:26:16 +0200 | |
commit | 59cddd397accfa92fc36c223e3d532b47fdab841 (patch) | |
tree | fb05ffe2ebe3be54f0f424a3d2144f22d191b4b0 /scripts/gdb/linux/utils.py | |
parent | x86/nmi: Fix comment in unknown_nmi_error() (diff) | |
download | linux-rng-59cddd397accfa92fc36c223e3d532b47fdab841.tar.xz linux-rng-59cddd397accfa92fc36c223e3d532b47fdab841.zip |
x86/nmi: Improve and relocate NMI handler comments
Some of the comments in the default NMI handling code are out of place
or inadequate. Move them to the appropriate locations and update them as
needed.
Move the comment related to CPU-specific NMIs closer to the actual code.
Also, add more details about how back-to-back NMIs are detected since
that isn't immediately obvious.
Opportunistically, replace an #ifdef section in the vicinity with an
IS_ENABLED() check to make the code easier to read.
Signed-off-by: Sohil Mehta <sohil.mehta@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Kai Huang <kai.huang@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/r/20250327234629.3953536-7-sohil.mehta@intel.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions