Thread (30 messages) 30 messages, 4 authors, 2017-06-20

Re: [PATCH v4 01/12] blk-mq: Reduce blk_mq_hw_ctx size

From: Hannes Reinecke <hare@suse.de>
Date: 2017-06-20 06:31:48

On 06/20/2017 12:07 AM, Bart Van Assche wrote:
From: Bart Van Assche <redacted>

Since the srcu structure is rather large (184 bytes on an x86-64
system with kernel debugging disabled), only allocate it if needed.

Reported-by: Ming Lei <redacted>
Signed-off-by: Bart Van Assche <redacted>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <redacted>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Omar Sandoval <redacted>
---
 block/blk-mq.c         | 30 ++++++++++++++++++++++--------
 include/linux/blk-mq.h |  5 +++--
 2 files changed, 25 insertions(+), 10 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help