summaryrefslogtreecommitdiffstats
path: root/lib/group_cpus.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-12-27 10:29:03 +0800
committerThomas Gleixner <tglx@linutronix.de>2023-01-17 18:50:06 +0100
commit523f1ea76aad9025f9bd5258d77f4406fa9dbe5d (patch)
treee535ada75db2ec9b994c8cd5fec381e6f4117685 /lib/group_cpus.c
parente7bdd7f0cbd1c001bb9b4d3313edc5ee094bc3f8 (diff)
downloadlinux-stable-523f1ea76aad9025f9bd5258d77f4406fa9dbe5d.tar.gz
linux-stable-523f1ea76aad9025f9bd5258d77f4406fa9dbe5d.tar.bz2
linux-stable-523f1ea76aad9025f9bd5258d77f4406fa9dbe5d.zip
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
Diffstat (limited to 'lib/group_cpus.c')
0 files changed, 0 insertions, 0 deletions