From: Eric Dumazet
Date: Wed, 16 Nov 2016 14:54:50 -0800
> From: Eric Dumazet
>
> Callers of netpoll_poll_lock() own NAPI_STATE_SCHED
>
> Callers of netpoll_poll_unlock() have BH blocked between
> the NAPI_STATE_SCHED being cleared and poll_lock is released.
>
> We can avoid the spinlock whic
From: Eric Dumazet
Callers of netpoll_poll_lock() own NAPI_STATE_SCHED
Callers of netpoll_poll_unlock() have BH blocked between
the NAPI_STATE_SCHED being cleared and poll_lock is released.
We can avoid the spinlock which has no contention, and use cmpxchg()
on poll_owner which we need to set a