Re: [PATCH V4 0/6] genirq/affinity: Abstract APIs from managed irq affinity spread

From: Ming Lei
Date: Tue Jan 10 2023 - 21:19:26 EST


Hello Thomas, Jens and guys,

On Tue, Dec 27, 2022 at 10:28:59AM +0800, Ming Lei wrote:
> Hello,
>
> irq_build_affinity_masks() actually grouping CPUs evenly into each managed
> irq vector according to NUMA and CPU locality, and it is reasonable to abstract
> one generic API for grouping CPUs evenly, the idea is suggested by Thomas
> Gleixner.
>
> group_cpus_evenly() is abstracted and put into lib/, so blk-mq can re-use
> it to build default queue mapping.
>
> blk-mq IO perf data is observed as more stable, meantime with big
> improvement, see detailed data in the last patch.
>
> Please consider it for v6.3!
>
> V4:
> - address comments from John, not export the API, given so far no
> module uses this symbol
> - add maintainer entry for new added lib/group_cpus.c
> - rebase on 6.2

Any chance to take a look at this patchset?


thanks,
Ming