diff options
author | Borislav Petkov (AMD) <bp@alien8.de> | 2024-01-30 11:59:38 +0100 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-04-09 18:08:11 +0200 |
commit | f796c75837623058db1ff93252b9f1681306b83d (patch) | |
tree | 8c66dac0c85884b6b09b4d160d1e5d7f29528476 /scripts/gdb/linux/modules.py | |
parent | ee8962082a4413dba1a1b3d3d23490c5221f3b8a (diff) |
x86/alternatives: Use a temporary buffer when optimizing NOPs
Instead of optimizing NOPs in-place, use a temporary buffer like the
usual alternatives patching flow does. This obviates the need to grab
locks when patching, see
6778977590da ("x86/alternatives: Disable interrupts and sync when optimizing NOPs in place")
While at it, add nomenclature definitions clarifying and simplifying the
naming of function-local variables in the alternatives code.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240130105941.19707-2-bp@alien8.de
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions