[PATCH 3/3] lib/group_cpus.c: honor housekeeping config when grouping CPUs

Christoph Hellwig hch at lst.de
Fri Jun 21 22:13:15 PDT 2024


Shouldn't this go before the current patch 2?

> +	io_queue_mask = housekeeping_cpumask(HK_TYPE_IO_QUEUE);
> +	if (!cpumask_empty(io_queue_mask))
> +		return group_mask_cpus_evenly(numgrps, io_queue_mask);
> +	else
> +		return group_possible_cpus_evenly(numgrps);
> +}

No need for an else after the return above.




More information about the Linux-nvme mailing list