diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-07-04 07:31:50 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-07-04 07:52:14 (GMT) |
commit | 62858dacc8dea55c5bdb474ccd8acb0657e23dd0 (patch) | |
tree | d7678ade2e3e47b041b58fd5ea8ad02a4019ea88 /kernel/sched_idletask.c | |
parent | 30c00eda73d5db5bd64dd0c370161abd8df5ba4a (diff) | |
download | linux-fsl-qoriq-62858dacc8dea55c5bdb474ccd8acb0657e23dd0.tar.xz |
scsi: sr avoids useless buffer allocation
blk_rq_map_kern can handle the stack buffers correctly (avoid DMA
from/to the stack buffers by using the bounce buffer) so we don't need
to complicate the code by allocating just 8 bytes.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'kernel/sched_idletask.c')
0 files changed, 0 insertions, 0 deletions