diff options
author | Jan Kara <[email protected]> | 2016-11-10 17:45:16 +0100 |
---|---|---|
committer | Jan Kara <[email protected]> | 2017-04-10 17:37:36 +0200 |
commit | 05f0e38724e8449184acd8fbf0473ee5a07adc6c (patch) | |
tree | ec38fb315ab41f887ef1af9c6adfd2735ed377a9 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 9385a84d7e1f658bb2d96ab798393e4b16268aaa (diff) |
fanotify: Release SRCU lock when waiting for userspace response
When userspace task processing fanotify permission events screws up and
does not respond, fsnotify_mark_srcu SRCU is held indefinitely which
causes further hangs in the whole notification subsystem. Although we
cannot easily solve the problem of operations blocked waiting for
response from userspace, we can at least somewhat localize the damage by
dropping SRCU lock before waiting for userspace response and reacquiring
it when userspace responds.
Reviewed-by: Miklos Szeredi <[email protected]>
Reviewed-by: Amir Goldstein <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions