]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[SCSI] mpt2sas: Use of get_free_pages for huge memorary allocation.
authorKashyap, Desai <kashyap.desai@lsi.com>
Wed, 17 Mar 2010 10:52:52 +0000 (16:22 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:56 +0000 (09:23 -0500)
commit89009fbb7d2df37536c8dc932fdead4189783f92
tree12625e1d4dd6017ce3fc18db1b8c9659a1917661
parentf891dcfdc11d2004253861f51d627bfda6773c76
[SCSI] mpt2sas: Use of get_free_pages for huge memorary allocation.

use the get_free_pages API for larger contigious physical memory chunk.
Also, the ioc->chain_depth need to be changed from
a 16bit to 32bit variable because the number of chains will exceed 64k
when the queue depth is large.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_base.c
drivers/scsi/mpt2sas/mpt2sas_base.h