diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-12-27 10:29:03 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-10 17:10:33 +0100 |
commit | 617ba3735d3b49c9b2db1e631b8bc008fdc83a5d (patch) | |
tree | 10e973bca2168390c27de8040ae6242f3349f089 /include | |
parent | aeeb4e4e49f8118d00cf803581555a2a2905759c (diff) | |
download | linux-617ba3735d3b49c9b2db1e631b8bc008fdc83a5d.tar.gz linux-617ba3735d3b49c9b2db1e631b8bc008fdc83a5d.tar.bz2 linux-617ba3735d3b49c9b2db1e631b8bc008fdc83a5d.zip |
genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly
[ Upstream commit 523f1ea76aad9025f9bd5258d77f4406fa9dbe5d ]
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
Stable-dep-of: 0263f92fadbb ("lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions