diff options
author | Bibo Mao <[email protected]> | 2024-07-09 16:25:51 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2024-07-09 16:25:51 +0800 |
commit | b072cbf0233b1fd9d84730cbe5cd1706dcacd354 (patch) | |
tree | 9a11e8858c8eee8ebf5b654b8c95344b2aba5599 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 2f56f9ea4dc3892c1265751a1c09038f365107ed (diff) |
LoongArch: KVM: Discard dirty page tracking on readonly memslot
For readonly memslot such as UEFI BIOS or UEFI var space, guest cannot
write this memory space directly. So it is not necessary to track dirty
pages for readonly memslot. Here we make such optimization in function
kvm_arch_commit_memory_region().
Signed-off-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions