summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-07-08 12:25:20 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-16 08:13:33 +0200
commit75c19a53cf68735b42c64b50c5174310fb40ffc1 (patch)
treed3a863f007e5d44cc3bdfbdb927bf93b372ae575 /tools/perf/scripts/python/export-to-postgresql.py
parentfab3c82266a1ca1215b22c51722e44a01bc8791f (diff)
downloadlinux-stable-75c19a53cf68735b42c64b50c5174310fb40ffc1.tar.gz
linux-stable-75c19a53cf68735b42c64b50c5174310fb40ffc1.tar.bz2
linux-stable-75c19a53cf68735b42c64b50c5174310fb40ffc1.zip
dm: use noio when sending kobject event
commit 6958c1c640af8c3f40fa8a2eee3b5b905d95b677 upstream. kobject_uevent may allocate memory and it may be called while there are dm devices suspended. The allocation may recurse into a suspended device, causing a deadlock. We must set the noio flag when sending a uevent. The observed deadlock was reported here: https://www.redhat.com/archives/dm-devel/2020-March/msg00025.html Reported-by: Khazhismel Kumykov <khazhy@google.com> Reported-by: Tahsin Erdogan <tahsin@google.com> Reported-by: Gabriel Krisman Bertazi <krisman@collabora.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions