[PATCH v2 1/3] blk-mq: add blk_mq_num_possible_queues helper
Hannes Reinecke
hare at suse.de
Thu Jun 27 23:23:57 PDT 2024
On 6/27/24 16:10, Daniel Wagner wrote:
> Multi queue devices which use managed IRQs should only allocate queues
> for the housekeeping CPUs when isolcpus is set. This avoids that the
> isolated CPUs get disturbed with OS workload.
>
> Add a helper which calculates the correct number of queues which should
> be used.
>
> Signed-off-by: Daniel Wagner <dwagner at suse.de>
> ---
> block/blk-mq-cpumap.c | 20 ++++++++++++++++++++
> include/linux/blk-mq.h | 1 +
> 2 files changed, 21 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at 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
More information about the Linux-nvme
mailing list