]> asedeno.scripts.mit.edu Git - linux.git/commit
skd: Reduce memory usage
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:13:35 +0000 (13:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
commita3db102def237c27c6f2a2a6a58b79b2f2d4e39f
tree467397e6d63efea824b9222f2f96fdbdbb81f0ca
parentd4d0f5fc3aee41b61fdef6e059ae803921c345cb
skd: Reduce memory usage

Every single coherent DMA memory buffer occupies at least one page.
Reduce memory usage by switching from coherent buffers to streaming
DMA for I/O requests (struct skd_fitmsg_context) and S/G-lists
(struct fit_sg_descriptor[]).

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c