diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-20 16:28:24 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-23 18:37:44 +0100 |
commit | 5b7f16804ad90e7f7a10c05b6a2e782598d9745a (patch) | |
tree | 2228c575b0b001eaf76f48216fee2f066065681a /drivers/infiniband/ulp | |
parent | [SCSI] use dynamically allocated sense buffer (diff) | |
download | linux-5b7f16804ad90e7f7a10c05b6a2e782598d9745a.tar.xz linux-5b7f16804ad90e7f7a10c05b6a2e782598d9745a.zip |
[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>
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions