diff options
| author | Kevin Hao <haokexin@gmail.com> | 2026-04-07 08:45:39 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-09 20:17:31 -0700 |
| commit | a17d3c3d0cb2827eaa87c43e748095e21f8cc1ab (patch) | |
| tree | 54bf6dd7d22009ff3673eec04bd3f9a8d4902522 /net/ipv6 | |
| parent | 5ecbebc9483c61280153ebdceda5f4db7ae63d18 (diff) | |
| download | lwn-a17d3c3d0cb2827eaa87c43e748095e21f8cc1ab.tar.gz lwn-a17d3c3d0cb2827eaa87c43e748095e21f8cc1ab.zip | |
net: macb: Use napi_schedule_irqoff() in IRQ handler
For non-PREEMPT_RT kernels, the IRQ handler runs with interrupts
disabled, allowing the use of napi_schedule_irqoff() to save a pair of
local_irq_{save,restore} operations. For PREEMPT_RT kernels,
napi_schedule_irqoff() behaves identically to napi_schedule().
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Link: https://patch.msgid.link/20260407-macb-napi-irqoff-v1-1-61bec60047d7@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions
