1
0
Fork 0
remarkable-linux/drivers/vhost
Nicholas Bellinger 4a47d3a1ff vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag
Fix GFP_KERNEL -> GFP_ATOMIC usage of percpu_ida_alloc() within
vhost_scsi_get_tag(), as this code is expected to be called directly
from interrupt context.

v2 changes:

  - Handle possible tag < 0 failure with GFP_ATOMIC

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Asias He <asias@redhat.com>
Cc: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-10-01 21:27:31 -07:00
..
Kconfig vhost: Make vhost a separate module 2013-07-07 17:33:44 +03:00
Makefile vhost: Make vhost a separate module 2013-07-07 17:33:44 +03:00
net.c vhost_net: correctly limit the max pending buffers 2013-09-03 22:46:58 -04:00
scsi.c vhost/scsi: Use GFP_ATOMIC with percpu_ida_alloc for obtaining tag 2013-10-01 21:27:31 -07:00
test.c vhost: Remove custom vhost rcu usage 2013-07-11 15:38:40 +03:00
test.h vhost test module 2010-12-09 16:00:21 +02:00
vhost.c vhost: wake up worker outside spin_lock 2013-09-17 09:21:32 +03:00
vhost.h vhost: Remove custom vhost rcu usage 2013-07-11 15:38:40 +03:00
vringh.c Add missing module license tag to vring helpers. 2013-05-08 10:49:03 +09:30