genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly
authorMing Lei <ming.lei@redhat.com>
Tue, 27 Dec 2022 02:29:03 +0000 (10:29 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Jan 2023 17:50:06 +0000 (18:50 +0100)
commit523f1ea76aad9025f9bd5258d77f4406fa9dbe5d
treee535ada75db2ec9b994c8cd5fec381e6f4117685
parente7bdd7f0cbd1c001bb9b4d3313edc5ee094bc3f8
genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly

Map irq vector into group, which allows to abstract the algorithm for
a generic use case outside of the interrupt core.

Rename irq_build_affinity_masks as group_cpus_evenly, so the API can be
reused for blk-mq to make default queue mapping even though irq vectors
aren't involved.

No functional change, just rename vector as group.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/r/20221227022905.352674-5-ming.lei@redhat.com
kernel/irq/affinity.c