On 04/15/2016 09:23 AM, Sumit Saxena wrote: > This patch will reduce memory footprints of megaraid_sas driver when booted > in kdump mode. > Driver will not allocate memory for optional and perfromance oriented > features. > Below are key changes done in megaraid_sas driver to do this- > 1. Limit Controller's queue depth to 100 in kdump mode. > 2. Do not allocate memory for system info buffer and PD info buffer. > 3. Disable performance oriented features e.g. Disable RDPQ mode, disable dual > queue depth, > restrict to single MSI-x vector. > > Signed-off-by: Sumit Saxena <sumit.sax...@broadcom.com> > --- > drivers/scsi/megaraid/megaraid_sas.h | 2 ++ > drivers/scsi/megaraid/megaraid_sas_base.c | 48 > +++++++++++++++++------------ > drivers/scsi/megaraid/megaraid_sas_fusion.c | 3 ++ > 3 files changed, 34 insertions(+), 19 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking h...@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html