From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757436AbdJKPdn (ORCPT ); Wed, 11 Oct 2017 11:33:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37118 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751744AbdJKPdk (ORCPT ); Wed, 11 Oct 2017 11:33:40 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0E8C85F2978 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=thenzl@redhat.com Subject: Re: [PATCH 03/10] mpt3sas: Reduce memory footprints in kdump kernel To: Sreekanth Reddy , linux-scsi@vger.kernel.org, hch@infradead.org Cc: martin.petersen@oracle.com, JBottomley@Parallels.com, Sathya.Prakash@broadcom.com, linux-kernel@vger.kernel.org References: <1507641083-20207-1-git-send-email-Sreekanth.Reddy@broadcom.com> <1507641083-20207-4-git-send-email-Sreekanth.Reddy@broadcom.com> From: Tomas Henzl Message-ID: Date: Wed, 11 Oct 2017 17:33:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507641083-20207-4-git-send-email-Sreekanth.Reddy@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 11 Oct 2017 15:33:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/10/2017 03:11 PM, Sreekanth Reddy wrote: > To reduce the memory footprints of the driver in kdump kernel, > we have made below driver setting when system boots in to kdump kernel, > > 1. Used single MSI-x vector. > 2. Disable RDPQ mode. > 3. Set sg_table_size to 32 by default. > 4) Set SCSI IO Queue depth to 200. > > Signed-off-by: Sreekanth Reddy I think that preferred is (though not much used yet) instead of 'reset_devices' to use a 'is_kdump_kernel()' function. Signed-off-by: Tomas Henzl