diff options
author | 2025-01-06 18:16:21 +0530 | |
---|---|---|
committer | 2025-01-07 08:57:19 +0100 | |
commit | 8234177d2027e52126e40472fe5807f4e94b19a3 (patch) | |
tree | 4cfff1630a1fc1e709dd1f293a40826d17d3e008 /scripts/generate_rust_analyzer.py | |
parent | x86/sev/docs: Document the SNP Reverse Map Table (RMP) (diff) | |
download | wireguard-linux-8234177d2027e52126e40472fe5807f4e94b19a3.tar.xz wireguard-linux-8234177d2027e52126e40472fe5807f4e94b19a3.zip |
virt: sev-guest: Remove is_vmpck_empty() helper
Remove is_vmpck_empty() which uses a local array allocation to check if the
VMPCK is empty and replace it with memchr_inv() to directly determine if the
VMPCK is empty without additional memory allocation.
[ bp: Massage commit message. ]
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20250106124633.1418972-2-nikunj@amd.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions