diff options
| author | James Bottomley <[email protected]> | 2008-01-20 09:28:24 -0600 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2008-01-23 11:37:44 -0600 |
| commit | 5b7f16804ad90e7f7a10c05b6a2e782598d9745a (patch) | |
| tree | 2228c575b0b001eaf76f48216fee2f066065681a /include/linux/debugobjects.h | |
| 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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions