commit | 5b7f16804ad90e7f7a10c05b6a2e782598d9745a | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@HansenPartnership.com> | Sun Jan 20 09:28:24 2008 -0600 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Wed Jan 23 11:37:44 2008 -0600 |
tree | 2228c575b0b001eaf76f48216fee2f066065681a | |
parent | de25deb18016f66dcdede165d07654559bb332bc [diff] |
[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 <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>