Skip to contentSkip to conversation

static_branch() for netpoll?

DISCUSSION Stephen Hemminger 1 participant 1 message Apr 26, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

It would be good to use static_branch instead of the current logic used to detect if traffic trapping is need for netpoll. Most distro's end up enabling NETPOLL, yet most users never need it. Not sure about the locking requirements since netpoll_rx() runs in both hard and soft irq context.