diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 11:12:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 01:01:22 +0100 |
commit | 88c896ef87fd0dd4dbf36e8e86e019c74b1f6649 (patch) | |
tree | 727de518c111fc1d3d3a3bf49ea292ea414e17c6 /scripts/setlocalversion | |
parent | CAPI: Rework locking of controller data structures (diff) | |
download | linux-88c896ef87fd0dd4dbf36e8e86e019c74b1f6649.tar.xz linux-88c896ef87fd0dd4dbf36e8e86e019c74b1f6649.zip |
CAPI: Rework application locking
Drop the application rw-lock in favour of RCU. This synchronizes
capi20_release against capi_ctr_handle_message which may dereference an
application from (soft-)IRQ context. Any other access to the application
list is now protected by the capi_controller_lock as well. This also
allows to safely inspect applications for /proc dumping by holding
capi_controller_lock.
At this chance, drop some useless release_in_progress checks where we
obtained the application pointer from the list (which becomes NULL on
release_in_progress).
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions