aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorRicardo Neri <[email protected]>2020-08-06 20:28:33 -0700
committerBorislav Petkov <[email protected]>2020-08-17 17:23:04 +0200
commitbf9c912f9a649776c2d741310486a6984edaac72 (patch)
treebd117b159ac58aa892922bbcbb98a992ef3bb4c6 /scripts/patch-kernel
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (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/patch-kernel')
0 files changed, 0 insertions, 0 deletions