RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread KY Srinivasan
ation.org; > > linux-ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org; > > o...@aepfle.de; a...@canonical.com; KY Srinivasan > > Cc: Haiyang Zhang > > Subject: Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error > > of 2MB memory block > > &

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread Dexuan Cui
KY Srinivasan > Cc: Haiyang Zhang > Subject: Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of > 2MB memory block > > On 11/24/2014 03:54 PM, Dexuan Cui wrote: > >> -Original Message- > >> From: Jason Wang [mailto:jasow...@redhat.com] > >&

Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-24 Thread Jason Wang
evel@linuxdriverproject.org; o...@aepfle.de; >> a...@canonical.com; KY Srinivasan >> Cc: Haiyang Zhang >> Subject: Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of >> 2MB memory block >> >> On 11/24/2014 02:08 PM, Dexuan Cui wrote: >>>> -Origin

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Dexuan Cui
KY Srinivasan > Cc: Haiyang Zhang > Subject: Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of > 2MB memory block > > On 11/24/2014 02:08 PM, Dexuan Cui wrote: > >> -Original Message- > >> > From: Jason Wang [mailto:jasow...@redhat.com] >

Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Jason Wang
driverdev-devel@linuxdriverproject.org; o...@aepfle.de; >> > a...@canonical.com; KY Srinivasan >> > Cc: Haiyang Zhang >> > Subject: Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of >> > 2MB memory block >> > >> > On 11/24/2014

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Dexuan Cui
KY Srinivasan > Cc: Haiyang Zhang > Subject: Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of > 2MB memory block > > On 11/24/2014 01:56 PM, Dexuan Cui wrote: > > If num_ballooned is not 0, we shouldn't neglect the already-allocated > 2MB > >

Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Jason Wang
On 11/24/2014 01:56 PM, Dexuan Cui wrote: > If num_ballooned is not 0, we shouldn't neglect the already-allocated 2MB > memory block(s). > > Cc: K. Y. Srinivasan > Cc: > Signed-off-by: Dexuan Cui > --- > drivers/hv/hv_balloon.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff