aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2013-10-24 09:06:45 +0100
committerJens Axboe <[email protected]>2013-10-25 11:55:59 +0100
commit098faf5805c80f951ce5e8b4a6842382ad793c38 (patch)
tree7479b126910fc14f0b1690b9414c8bf9033dce70 /net/lapb/lapb_iface.c
parent71fe07d040626de7b72244bf6de889c2e0f5aea3 (diff)
percpu_counter: make APIs irq safe
In my usage, sometimes the percpu APIs are called with irq locked, sometimes not. lockdep complains there is potential deadlock. Let's always use percpucounter lock in irq safe way. There should be no performance penality, as all those are slow code path. Cc: Andrew Morton <[email protected]> Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions