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

From: Christoph Hellwig
Date: Sat Jun 22 2024 - 01:13:28 EST


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.