diff options
| author | Josh Poimboeuf <[email protected]> | 2022-06-14 23:16:08 +0200 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2022-06-27 10:34:00 +0200 |
| commit | bbb69e8bee1bd882784947095ffb2bfe0f7c9470 (patch) | |
| tree | 64068e6d11e33c1e9024acdbb450e0efca38eb51 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c | |
| parent | 56aa4d221f1ee2c3a49b45b800778ec6e0ab73c5 (diff) | |
x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
There's no need to recalculate the host value for every entry/exit.
Just use the cached value in spec_ctrl_current().
Signed-off-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions