diff options
author | Oliver Neukum <oneukum@suse.com> | 2020-04-15 16:17:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-16 14:59:48 +0200 |
commit | f6cc6093a729ede1ff5658b493237c42b82ba107 (patch) | |
tree | c82c00190b727efc03aa224facd0de50e5a5046a /tools/perf/tests/hists_common.c | |
parent | 5963dec98dc52d52476390485f07a29c30c6a582 (diff) | |
download | linux-f6cc6093a729ede1ff5658b493237c42b82ba107.tar.bz2 |
UAS: fix deadlock in error handling and PM flushing work
A SCSI error handler and block runtime PM must not allocate
memory with GFP_KERNEL. Furthermore they must not wait for
tasks allocating memory with GFP_KERNEL.
That means that they cannot share a workqueue with arbitrary tasks.
Fix this for UAS using a private workqueue.
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Fixes: f9dc024a2da1f ("uas: pre_reset and suspend: Fix a few races")
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200415141750.811-2-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/tests/hists_common.c')
0 files changed, 0 insertions, 0 deletions