lkml.org 
[lkml]   [2007]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 22/33] KVM: MMU: Ensure freed shadow pages are clean
    From
    Date
    Signed-off-by: Avi Kivity <avi@qumranet.com>

    Index: linux-2.6/drivers/kvm/mmu.c
    ===================================================================
    --- linux-2.6.orig/drivers/kvm/mmu.c
    +++ linux-2.6/drivers/kvm/mmu.c
    @@ -318,6 +318,7 @@ static void kvm_mmu_free_page(struct kvm
    {
    struct kvm_mmu_page *page_head = page_header(page_hpa);

    + ASSERT(is_empty_shadow_page(page_hpa));
    list_del(&page_head->link);
    page_head->page_hpa = page_hpa;
    list_add(&page_head->link, &vcpu->free_pages);
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-01-04 17:13    [W:0.018 / U:30.908 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site