]> git.baikalelectronics.ru Git - kernel.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)
commit8a200340df8b08c0580bfe2647f78172217828e2
tree467397e6d63efea824b9222f2f96fdbdbb81f0ca
parentba60a22288e2e8fb0c83579bba47d1a7fc44609e
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