diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-12-28 13:08:42 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 15:15:22 -0800 |
commit | 61e1444816df473bb5648541ab6e5d8897972053 (patch) | |
tree | 1a8a4356f4ae7a42643f31040bd44cec0e2c7a42 /scripts | |
parent | 1baa45caa1c0a5aa2075b0be7f8dea1ba35d59ea (diff) |
xhci: Use GFP_NOIO during device reset.
commit a6d940dd759bf240d28624198660ed34582a327b upstream.
When xhci_discover_or_reset_device() is called after a host controller
power loss, the virtual device may need to be reallocated. Make sure
xhci_alloc_dev() uses GFP_NOIO. This avoid causing a deadlock by allowing
the kernel to flush pending I/O while reallocating memory for a virtual
device for a USB mass storage device that's holding the backing store for
dirty memory buffers.
This patch should be queued for the 2.6.37 stable tree.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions