From: Krishna Gudipati Date: Sat, 25 Jun 2011 03:24:29 +0000 (-0700) Subject: [SCSI] bfa: DMA memory allocation enhancement. X-Git-Tag: v3.1-rc1~270^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4507025d01149aea8705e43508d0ef11e7010cfd;p=pandora-kernel.git [SCSI] bfa: DMA memory allocation enhancement. - Modified the design such that each BFA sub-module will provide the amount of DMA and KVA memory needed by it and queues the same request to the global dma and kva info queues. - During the memory allocation we iterate over this queue to allocate the dma and kva memory requested by sub-modules. - The change is needed to avoid requesting the aggregate amount of memory needed by all the BFA sub-modules as one contiguous chunk. Signed-off-by: Krishna Gudipati Signed-off-by: James Bottomley --- Reading git-diff-tree failed