summaryrefslogtreecommitdiffstats
path: root/net/rds/af_rds.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-04-02 12:50:14 +0100
committerMarc Zyngier <maz@kernel.org>2021-06-10 13:09:17 +0100
commit1da027362a7db422243601e895e6f8288389f435 (patch)
tree92f9cde4c1ce12875cb160b671463ca0d323ce88 /net/rds/af_rds.c
parent405e94e9aed2a38bdcd22efe53c36c6cd53185a6 (diff)
downloadlinux-stable-1da027362a7db422243601e895e6f8288389f435.tar.gz
linux-stable-1da027362a7db422243601e895e6f8288389f435.tar.bz2
linux-stable-1da027362a7db422243601e895e6f8288389f435.zip
irqdomain: Reimplement irq_linear_revmap() with irq_find_mapping()
irq_linear_revmap() is supposed to be a fast path for domain lookups, but it only exposes low-level details of the irqdomain implementation, details which are better kept private. The *overhead* between the two is only a function call and a couple of tests, so it is likely that noone can show any meaningful difference compared to the cost of taking an interrupt. Reimplement irq_linear_revmap() with irq_find_mapping() in order to preserve source code compatibility, and rename the internal field for a measure. Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'net/rds/af_rds.c')
0 files changed, 0 insertions, 0 deletions