summaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-12-14 14:40:05 +0100
committerPaul Moore <paul@paul-moore.com>2017-01-03 15:56:38 -0500
commitbe29d20f3f5db1f0b4e49a4f6eeedf840e2bf9b1 (patch)
tree129d3e33fe04b96e2af0b8adf633019a316f10e8 /tools/perf
parente3ba730702af370563f66cb610b71aa0ca67955e (diff)
audit: Fix sleep in atomic
Audit tree code was happily adding new notification marks while holding spinlocks. Since fsnotify_add_mark() acquires group->mark_mutex this can lead to sleeping while holding a spinlock, deadlocks due to lock inversion, and probably other fun. Fix the problem by acquiring group->mark_mutex earlier. CC: Paul Moore <paul@paul-moore.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions