Re: [PATCH v4 4/9] nvme-pci: use block layer helpers to calculate num of queues

From
Hannes Reinecke <hare@suse.de>
Date
2025-01-08 07:19:21
Also in
linux-nvme, linux-scsi, lkml, virtualization
Reply to
Daniel Wagner, 2024-12-17
On 12/17/24 19:29, Daniel Wagner wrote:
Multiqueue devices should only allocate queues for the housekeeping CPUs
when isolcpus=managed_irq is set. This avoids that the isolated CPUs get
disturbed with OS workload.

Use helpers which calculates the correct number of queues which should
be used when isolcpus is used.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Wagner <wagi@kernel.org>
---
  drivers/nvme/host/pci.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
Thread (29 messages) 29 messages, 7 authors, last reply 2025-01-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help