summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-sysfs.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2013-10-31 17:55:45 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 19:05:36 (GMT)
commit9afdbf0a4e3d7ea4030de51ca4b73de5c18386ec (patch)
treec1adf7ddf03145db87d578dee519aa7415b13f08 /drivers/usb/host/ehci-sysfs.c
parent901dfc022de56b1f3c6dc605116af540bd0c1044 (diff)
downloadlinux-fsl-qoriq-9afdbf0a4e3d7ea4030de51ca4b73de5c18386ec.tar.xz
dm: allocate buffer for messages with small number of arguments using GFP_NOIO
commit f36afb3957353d2529cb2b00f78fdccd14fc5e9c upstream. dm-mpath and dm-thin must process messages even if some device is suspended, so we allocate argv buffer with GFP_NOIO. These messages have a small fixed number of arguments. On the other hand, dm-switch needs to process bulk data using messages so excessive use of GFP_NOIO could cause trouble. The patch also lowers the default number of arguments from 64 to 8, so that there is smaller load on GFP_NOIO allocations. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Acked-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-sysfs.c')
0 files changed, 0 insertions, 0 deletions