From 6f190ea7179fe4bbd03ffdac858fa0bc0ae2099c Mon Sep 17 00:00:00 2001 From: Xiao Guangrong Date: Thu, 26 Jul 2012 11:58:17 +0800 Subject: [PATCH] --- yaml --- r: 329816 b: refs/heads/master c: 2b4b5af8f8e7296bc27c52023ab6bb8f53db3a2b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/virt/kvm/async_pf.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 778ab1d2452c..e678b850dee6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3b2bd2f800ba9488d9ad493216a0c07d71055b56 +refs/heads/master: 2b4b5af8f8e7296bc27c52023ab6bb8f53db3a2b diff --git a/trunk/virt/kvm/async_pf.c b/trunk/virt/kvm/async_pf.c index 74268b4c2ee1..ebae24b62c90 100644 --- a/trunk/virt/kvm/async_pf.c +++ b/trunk/virt/kvm/async_pf.c @@ -112,7 +112,7 @@ void kvm_clear_async_pf_completion_queue(struct kvm_vcpu *vcpu) typeof(*work), link); list_del(&work->link); if (work->page) - put_page(work->page); + kvm_release_page_clean(work->page); kmem_cache_free(async_pf_cache, work); } spin_unlock(&vcpu->async_pf.lock); @@ -139,7 +139,7 @@ void kvm_check_async_pf_completion(struct kvm_vcpu *vcpu) list_del(&work->queue); vcpu->async_pf.queued--; if (work->page) - put_page(work->page); + kvm_release_page_clean(work->page); kmem_cache_free(async_pf_cache, work); } }