diff options
author | Ricardo Neri <[email protected]> | 2020-08-06 20:28:33 -0700 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-08-17 17:23:04 +0200 |
commit | bf9c912f9a649776c2d741310486a6984edaac72 (patch) | |
tree | bd117b159ac58aa892922bbcbb98a992ef3bb4c6 /scripts/gdb/linux/modules.py | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
x86/cpu: Use SERIALIZE in sync_core() when available
The SERIALIZE instruction gives software a way to force the processor to
complete all modifications to flags, registers and memory from previous
instructions and drain all buffered writes to memory before the next
instruction is fetched and executed. Thus, it serves the purpose of
sync_core(). Use it when available.
Suggested-by: Andy Lutomirski <[email protected]>
Signed-off-by: Ricardo Neri <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Tony Luck <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions