Bug 6816 - flush the CPU caches only when guest memory is reclaimed
Summary: flush the CPU caches only when guest memory is reclaimed
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-16 14:11 UTC by jiangxin00
Modified: 2023-10-16 14:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jiangxin00 hygon_group 2023-10-16 14:11:52 UTC
Description of problem:
Invalidation happens from invalidate_range_start MMU notifier when any
host virtual address changes. If pages mapped to the changed host
virtual address are not part of guest memory, it is pointless to call
kvm_arch_guest_memory_reclaimed().

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2023-10-16 14:28:47 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2292