aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-10-25 09:50:09 -0700
committerJens Axboe <[email protected]>2019-10-25 14:12:18 -0600
commitac0d6b926e741f328b23c8af0134312af7c032d9 (patch)
tree86ed35737eabb038778c10c87714d0ac1041fc7e /net/switchdev/switchdev.c
parenta9a808084d6ac015ac68b4223ac5f6ef31f8076e (diff)
block: Reduce the amount of memory required per request queue
Instead of always allocating at least nr_cpu_ids hardware queues per request queue, reallocate q->queue_hw_ctx if it has to grow. This patch improves behavior that was introduced by commit 868f2f0b7206 ("blk-mq: dynamic h/w context count"). Cc: Keith Busch <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Ming Lei <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Johannes Thumshirn <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions