diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2016-08-11 17:51:00 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-08-12 20:22:56 -0700 |
| commit | e3e9652a43207561eaec6085a8272fe11b283286 (patch) | |
| tree | 2efe8023a1d48b4791f97195d36a08e8534094e9 /kernel/bpf/arraymap.c | |
| parent | net: ena: Add a driver for Amazon Elastic Network Adapters (ENA) (diff) | |
| download | linux-e3e9652a43207561eaec6085a8272fe11b283286.tar.gz linux-e3e9652a43207561eaec6085a8272fe11b283286.zip | |
net: ethernet: mediatek: enhance the locking using the lightweight ones
Since these critical sections protected by page_lock are all entered
from the user context or bottom half context, they can be replaced
with the spin_lock() or spin_lock_bh instead of spin_lock_irqsave().
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: John Crispin <john@phrozen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions
