summaryrefslogtreecommitdiff
path: root/tools/pci
diff options
context:
space:
mode:
authorTanner Love <tannerlove@google.com>2021-06-02 21:03:38 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-08-10 23:50:07 +0300
commit91cc470e797828d779cd4c1efbe8519bcb358bae (patch)
tree9f36cb2595cd78a8d9938d002800fb0bf7e9d8a6 /tools/pci
parent5a6c76b5de59ed508d7cb133327a7c54e77fed97 (diff)
downloadlinux-91cc470e797828d779cd4c1efbe8519bcb358bae.tar.xz
genirq: Change force_irqthreads to a static key
With CONFIG_IRQ_FORCED_THREADING=y, testing the boolean force_irqthreads could incur a cache line miss in invoke_softirq() and other places. Replace the test with a static key to avoid the potential cache miss. [ tglx: Dropped the IDE part, removed the export and updated blk-mq ] Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Tanner Love <tannerlove@google.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210602180338.3324213-1-tannerlove.kernel@gmail.com
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions