From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753085AbcFLK3M (ORCPT ); Sun, 12 Jun 2016 06:29:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54974 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420AbcFLK3K (ORCPT ); Sun, 12 Jun 2016 06:29:10 -0400 Date: Sun, 12 Jun 2016 18:29:02 +0800 From: Xiong Zhou To: Shaun Tancheff Cc: linux-block@vger.kernel.org, Christoph Hellwig , axboe@kernel.dk, David Drysdale , Xiong Zhou , Stephen Rothwell , linux-next@vger.kernel.org, linux-nvdimm@ml01.01.org, Larry Finger , Catalin Marinas , LKML , Jens Axboe , bart.vanassche@sandisk.com Subject: Re: [PATCH] Fix reported kmemleak Message-ID: <20160612102902.GA16418@dhcp12-144.nay.redhat.com> References: <1465316612-9649-1-git-send-email-shaun@tancheff.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465316612-9649-1-git-send-email-shaun@tancheff.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Sun, 12 Jun 2016 10:29:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Jun 07, 2016 at 11:23:30AM -0500, Shaun Tancheff wrote: > This fixes a memory leak reported by a few people in 4.7-rc1 > > kmemleak report after 9082e87bfbf8 ("block: remove struct bio_batch") > > This patch just formalizes the one in this discussion here: > https://lkml.kernel.org/r/20160606112620.GA29910@e104818-lin.cambridge.arm.com > > The same issue appears here: > https://lkml.kernel.org/r/20160607102651.GA6480@dhcp12-144.nay.redhat.com > > Patch is also available at: > > https://github.com/stancheff/linux.git > branch: v4.7-rc2+bio_put > > Cc: Christoph Hellwig > Cc: axboe@kernel.dk > cc: David Drysdale > Cc: Xiong Zhou Thanks for the information! > Cc: Stephen Rothwell > Cc: linux-next@vger.kernel.org > Cc: linux-nvdimm@ml01.01.org > Cc: Christoph Hellwig > Cc: Larry Finger > Cc: Catalin Marinas > Cc: LKML , > Cc: Jens Axboe , > Cc: bart.vanassche@sandisk.com > > Shaun Tancheff (1): > Missing bio_put following submit_bio_wait > > block/blk-lib.c | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > -- > 2.8.1 >