Description of problem: When launch and kill multiple CSV2 guest frequently, we will see serious memory leak through $ free -h The reason of the memory leak is that the CSV2 guest's ghcb pages are referenced by kvm_vcpu_map() but are'nt dereferenced by kvm_vcpu_unmap() when killing the CSV2 guest. [Reference: https://bugzilla.openanolis.cn/show_bug.cgi?id=7757] Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2975