diff options
author | Sean Wang <sean.wang@mediatek.com> | 2016-08-11 05:51:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-12 23:22:56 -0400 |
commit | e3e9652a43207561eaec6085a8272fe11b283286 (patch) | |
tree | 2efe8023a1d48b4791f97195d36a08e8534094e9 /kernel/bpf/arraymap.c | |
parent | 1738cd3ed342294360d6a74d4e58800004bff854 (diff) |
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