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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Problem of netfront by network-attach/detach

To: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Problem of netfront by network-attach/detach
From: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Date: 2006年12月27日 18:34:45 +0900
Delivery-date: 2006年12月27日 01:36:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: (Your message of "2006年12月22日 18:49:31 +0900") <14d701c725ae7ドルc09c220$dab2220a@VF03007L >
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <14d701c725ae7ドルc09c220$dab2220a@VF03007L >
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
This issue is caused by 
netif_release_rx_bufs@drivers/xen/netfront/netfront.c
 if (np->copying_receiver) {
 printk("%s: fix me for copying receiver.\n", __FUNCTION__);
 return;
 }
This code makes memory leaking.
for example, GrantTable is allocated 256 but freed 192(by seeing 
gnttab_free_count).
This makes 64table leaking for every network-attach/detach operation.
To fix this issue, we need to fix copying receiver.
Is there any suggestion on this?
Thanks
Atsushi SAKAI
>Hi All,
>
>We tested the xm network-attach/detach command.
>It repeats network-attach/detach command for DomU and pv-on-hvm on HVM Domain.
>(network-attach → network-detach → network-attach → network-detach → ...)
>
>If network-attach/detach command is repeated 13 times, the following errors
>occur.
>
>### netfront can't alloc rx grant refs
>vif vif-13: 12 creating netdev
>vif vif-13: 12 xenbus_dev_probe on device/vif/13
>
>After that, the same problem occurred.
>
>The environment is as follows.
>・xen-unstable.hg : cs 13129
> DomU and pv-on-hvm on HVM Domain
>
>Thanks
>
>--
>Takanori Kasai
>
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel 
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] xen kernel and e1000 problem , Anand Gupta
Next by Date: [Xen-devel] Error: Kernel image does not exist: /usr/lib/xen/boot/hvmloader , Anand Gupta
Previous by Thread: [Xen-devel] Problem of netfront by network-attach/detach , Kasai Takanori
Next by Thread: [Xen-devel] [PATCH] qemu-dm monitor doesn't support the quit command , Kasai Takanori
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /