Isaku Yamahata
2007-Jun-02 00:19 UTC
[Xen-devel] [PATCH 1/2] blktap: Various fixes blktap_clear_pte().
Various fixes blktap_clear_pte(). added pte_get_and_clear_full() for auto translated physmap mode. added pte_get_and_clear_full() for io ring page. fix index calculation of map[]. This function is always called so that removed warning. -- yamahata _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
code clean up. Many lines can be eliminated. But I''m not sure about performance impact because it increases the number of hypercalls. -- yamahata _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Geoffrey Lefebvre
2007-Jun-05 00:28 UTC
Re: [Xen-devel] [PATCH 1/2] blktap: Various fixes blktap_clear_pte().
Hi, Here is an updated version of the patch. It''s similar to the original except that I moved the lookup for the blktap info struct after the check for vma->vm_file. The reason is that the mmap code sets vm_file to NULL on failure. cheers geoffrey On 6/1/07, Isaku Yamahata <yamahata@valinux.co.jp> wrote:> Various fixes blktap_clear_pte(). > added pte_get_and_clear_full() for auto translated physmap mode. > added pte_get_and_clear_full() for io ring page. > fix index calculation of map[]. > This function is always called so that removed warning. > > -- > yamahata > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel