Searched hist:"1 da027362a7db422243601e895e6f8288389f435" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | irqdomain.h | diff 1da027362a7db422243601e895e6f8288389f435 Fri Apr 02 06:50:14 CDT 2021 Marc Zyngier <maz@kernel.org> 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>
|
/openbmc/linux/kernel/irq/ |
H A D | irqdomain.c | diff 1da027362a7db422243601e895e6f8288389f435 Fri Apr 02 06:50:14 CDT 2021 Marc Zyngier <maz@kernel.org> 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>
|