From: James Bottomley Date: Sun, 20 Jan 2008 15:28:24 +0000 (-0600) Subject: [SCSI] don't use __GFP_DMA for sense buffers if not required X-Git-Tag: v2.6.25-rc1~1230^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b7f16804ad90e7f7a10c05b6a2e782598d9745a;p=pandora-kernel.git [SCSI] don't use __GFP_DMA for sense buffers if not required Only hosts which actually have ISA DMA requirements need sense buffers coming out of ZONE_DMA, so only use the __GFP_DMA flag for that case to avoid allocating this scarce resource if it's not necessary. [tomo: fixed slab leak in failure case] Acked-by: FUJITA Tomonori Signed-off-by: James Bottomley --- Reading git-diff-tree failed