WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel][PV-ops][PATCH] Netback: Fix PV network issue for netback mul

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: [Xen-devel][PV-ops][PATCH] Netback: Fix PV network issue for netback multiple threads patchset
From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Date: Thu, 10 Jun 2010 19:48:46 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "djmagee@xxxxxxxxxxxx" <djmagee@xxxxxxxxxxxx>, Pasi, Fantu <fantonifabio@xxxxxxxxxx>
Delivery-date: Thu, 10 Jun 2010 04:49:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsIkuJmO9yJ27ioTIGyO8W/Gq+XIg==
Thread-topic: [Xen-devel][PV-ops][PATCH] Netback: Fix PV network issue for netback multiple threads patchset
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.

*ONE POINT IS*, the phenomenon on my side is different from the bug reports 
from mailing list. They often saw GPLPV network long ping latency, and on my 
side, system would crash when enabling guest network. 

After applying the patch, network in the following cases are working fine in my 
side. 

WinXP 32bit with gplpv_XP_0.11.0.213.msi
64bit Linux PV guest.
64bit RHEL5u3 HVM guest with PV driver

Can somebody help to try this fixing for long ping latency phenomenon? 
Appreciate for that!

Thanks,
Dongxiao

Attachment: 0001-Netback-Set-allocated-memory-to-zero-from-vmalloc.patch
Description: 0001-Netback-Set-allocated-memory-to-zero-from-vmalloc.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel