From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751924AbdJ1A2f (ORCPT ); Fri, 27 Oct 2017 20:28:35 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:9460 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbdJ1A2d (ORCPT ); Fri, 27 Oct 2017 20:28:33 -0400 Subject: Re: [PATCH 2/2] scsi: megaraid: Track the page allocations for struct fusion_context To: "Martin K. Petersen" References: <1508925428-51660-1-git-send-email-xieyisheng1@huawei.com> <1508925428-51660-2-git-send-email-xieyisheng1@huawei.com> CC: , , , , , , , Shu Wang From: Yisheng Xie Message-ID: <25c40edd-7c4a-5e6a-2079-6ffd356da7e8@huawei.com> Date: Sat, 28 Oct 2017 08:28:12 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.40] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090206.59F3CF27.0044,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 4cb7a972c74b90a6a85bce99057680d9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi Martin , On 2017/10/25 20:36, Martin K. Petersen wrote: > > Yisheng, > >> I have get many kmemleak reports just similar to commit 70c54e210ee9 >> (scsi: megaraid_sas: fix memleak in megasas_alloc_cmdlist_fusion) >> on v4.14-rc6, however it seems have a different stroy: > > Do you still see leaks reported with the megaraid driver update recently > merged into 4.15/scsi-queue? > No, the related code have been optimized and __get_free_pages is not used to allocate fusion_context anymore. So, please ignore this one, and sorry for disturbing. BTW, what about the Patch 1/2, which is just a minor clean up? Thanks Yisheng Xie