>>> On 10.06.10 at 13:48, "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx> wrote:
> Hi Jeremy,
>
> The attached patch should fix the PV network issue after applying the
> netback multiple threads patchset.
>
> This bug comes from the version upgrade when resending my patchset last
> time.
>
> In patch v1 & v2, I used kzalloc() to allocate memory, so there is no
> problem.
> In patch v3, I changed it to "__get_free_pages(GFP_KERNEL | __GFP_ZERO,
> order)", so there is also no problem.
> However in patch v4, when modified it to vmalloc according to the comments,
> memset(0) is missing. Sorry for that.
A perhaps better alternative would be to use
__vmalloc(..., GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO, PAGE_KERNEL);
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|