commit | 2b4b5af8f8e7296bc27c52023ab6bb8f53db3a2b | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> | Thu Jul 26 11:58:17 2012 +0800 |
committer | Avi Kivity <avi@redhat.com> | Thu Jul 26 11:55:31 2012 +0300 |
tree | fc0f1de2dc0c01a43cc45c85737b54953421f93c | |
parent | 3b2bd2f800ba9488d9ad493216a0c07d71055b56 [diff] |
KVM: use kvm_release_page_clean to release the page In kvm_async_pf_wakeup_all, it uses bad_page to generate broadcast wakeup, and uses put_page to release bad_page, the work depends on the fact that bad_page is the normal page. But we will use the error code instead of bad_page, so use kvm_release_page_clean to release the page which will release the error code properly Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>