summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-08-18 12:25:50 -0400
committerEric Paris <eparis@redhat.com>2010-08-22 20:28:16 -0400
commit2eebf582c9b3106abb9c33f4fc0a347fb9391037 (patch)
tree0fab23d7e456713815890fc01a148132b9b857f8 /tools/perf/scripts/python
parent84e1ab4d875922c034db7f4f814ac445a20a14bd (diff)
downloadkernel-2eebf582c9b3106abb9c33f4fc0a347fb9391037.tar.gz
fanotify: flush outstanding perm requests on group destroy
When an fanotify listener is closing it may cause a deadlock between the listener and the original task doing an fs operation. If the original task is waiting for a permissions response it will be holding the srcu lock. The listener cannot clean up and exit until after that srcu lock is syncronized. Thus deadlock. The fix introduced here is to stop accepting new permissions events when a listener is shutting down and to grant permission for all outstanding events. Thus the original task will eventually release the srcu lock and the listener can complete shutdown. Reported-by: Andreas Gruenbacher <agruen@suse.de> Cc: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
/td>YueHaibing 2021-04-28net: tun: Remove redundant assignment to retYang Li 2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski 2021-04-06net: tun: set tun->dev->addr_len during TUNSETLINK processingPhillip Potter 2021-03-18bpf, devmap: Move drop error path to devmap for XDP_REDIRECTLorenzo Bianconi 2021-02-11net: fix dev_ifsioc_locked() race conditionCong Wang 2021-01-19net: tun: fix misspellings using codespell toolMenglong Dong 2021-01-08net, xdp: Introduce xdp_prepare_buff utility routineLorenzo Bianconi 2021-01-08net, xdp: Introduce xdp_init_buff utility routineLorenzo Bianconi 2021-01-07tap/tun: add skb_zcopy_init() helper for initialization.Jonathan Lemon 2021-01-07net: group skb_shinfo zerocopy related bits together.Jonathan Lemon 2021-01-07skbuff: Add skb parameter to the ubuf zerocopy callbackJonathan Lemon 2020-12-28tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGSYunjian Wang 2020-12-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski 2020-12-01xsk: Propagate napi_id to XDP socket Rx pathBjörn Töpel 2020-11-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski 2020-11-23net/tun: Call type change netdev notifiersMartin Schiller 2020-11-21tun: honor IOCB_NOWAIT flagJens Axboe 2020-11-09tun: switch to net core provided statistics countersHeiner Kallweit