summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/imgpdc_wdt.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-07-08 18:25:20 +0200
committerMike Snitzer <snitzer@redhat.com>2020-07-08 18:50:51 +0200
commit6958c1c640af8c3f40fa8a2eee3b5b905d95b677 (patch)
tree3ad740210f4672ce601d1f994b6eb8fcaa6f88ee /drivers/watchdog/imgpdc_wdt.c
parentdm zoned: Fix zone reclaim trigger (diff)
downloadlinux-6958c1c640af8c3f40fa8a2eee3b5b905d95b677.tar.xz
linux-6958c1c640af8c3f40fa8a2eee3b5b905d95b677.zip
dm: use noio when sending kobject event
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>
Diffstat (limited to 'drivers/watchdog/imgpdc_wdt.c')
0 files changed, 0 insertions, 0 deletions