From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Chentao(Boby)" Subject: Re: A memory leak problem in xen-blkback module Date: Tue, 16 Sep 2014 09:33:25 +0800 Message-ID: <54179365.4090405@huawei.com> References: <5412999C.6010600@huawei.com> <5416B78F.50208@citrix.com> <5416E19A.4080209@huawei.com> <5416E673.1020004@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XTheX-0007nq-SS for xen-devel@lists.xenproject.org; Tue, 16 Sep 2014 01:33:57 +0000 In-Reply-To: <5416E673.1020004@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?windows-1252?Q?Roger_Pau_Monn=E9?= , konrad.wilk@oracle.com Cc: liujinlj.liu@huawei.com, xen-devel@lists.xenproject.org, Yanqiangjun , zhangmin , wu.wubin@huawei.com List-Id: xen-devel@lists.xenproject.org On 2014/9/15 21:15, Roger Pau Monn=E9 wrote: > El 15/09/14 a les 14.54, Chentao(Boby) ha escrit: >> >> >> On 2014/9/15 17:55, Roger Pau Monn=E9 wrote: >>> I have the following patch, which I think solves the problem. I've = >>> placed the free_pages call in xen_blkbk_map itself, but it could also = >>> be done in xen_blkbk_map_unmap. >>> >> I think the funtion is xen_blkbk_unmap, not xen_blkbk_map_unmap. Am I ri= ght? > = > Yes, sorry for the typo. Could you confirm that this fix works for you? > = > Roger. > = > . > = Yes, this fix works for me. Thanks one more time. Best wishes. Tao Chen