aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2024-06-14 12:58:54 +0300
committerBorislav Petkov (AMD) <[email protected]>2024-06-17 17:45:59 +0200
commitc3abbf1376874f0d6eb22859a8655831644efa42 (patch)
tree2697caf5b226bdfdfdbe2ef1a39f89a484cc2e21 /tools/perf/scripts/python/bin/export-to-sqlite-report
parent9d1dcdfa909178b6f465625bbfd8311e6107b48e (diff)
x86/tdx: Account shared memory
The kernel will convert all shared memory back to private during kexec. The direct mapping page tables will provide information on which memory is shared. It is extremely important to convert all shared memory. If a page is missed, it will cause the second kernel to crash when it accesses it. Keep track of the number of shared pages. This will allow for cross-checking against the shared information in the direct mapping and reporting if the shared bit is lost. Memory conversion is slow and does not happen often. Global atomic is not going to be a bottleneck. Signed-off-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Kai Huang <[email protected]> Tested-by: Tao Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions