Re: [PATCH] xen-netback: fix memory leaks on XenBus disconnect

2017-01-13 Thread Igor Druzhinin
On 13/01/17 10:38, Wei Liu wrote: > On Thu, Jan 12, 2017 at 05:51:56PM +, Igor Druzhinin wrote: >> Eliminate memory leaks introduced several years ago by cleaning the queue >> resources which are allocated on XenBus connection event. Namely, queue >> structure array and pages used for IO

RE: [PATCH] xen-netback: fix memory leaks on XenBus disconnect

2017-01-13 Thread Paul Durrant
m>; netdev@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] xen-netback: fix memory leaks on XenBus disconnect > > On Thu, Jan 12, 2017 at 05:51:56PM +, Igor Druzhinin wrote: > > Eliminate memory leaks introduced several years ago by cleaning the > que

Re: [PATCH] xen-netback: fix memory leaks on XenBus disconnect

2017-01-13 Thread Wei Liu
On Thu, Jan 12, 2017 at 05:51:56PM +, Igor Druzhinin wrote: > Eliminate memory leaks introduced several years ago by cleaning the queue > resources which are allocated on XenBus connection event. Namely, queue > structure array and pages used for IO rings. > vif->lock is used to protect

RE: [PATCH] xen-netback: fix memory leaks on XenBus disconnect

2017-01-13 Thread Paul Durrant
> -Original Message- > From: Igor Druzhinin [mailto:igor.druzhi...@citrix.com] > Sent: 12 January 2017 17:52 > To: Wei Liu ; xen-de...@lists.xenproject.org; Paul > Durrant > Cc: netdev@vger.kernel.org; linux-ker...@vger.kernel.org; Igor

Re: [PATCH] xen-netback: fix memory leaks on XenBus disconnect

2017-01-12 Thread Igor Druzhinin
On 12/01/17 17:51, Igor Druzhinin wrote: > Eliminate memory leaks introduced several years ago by cleaning the queue > resources which are allocated on XenBus connection event. Namely, queue > structure array and pages used for IO rings. > vif->lock is used to protect statistics gathering agents