linux/drivers/vhost
Michael S. Tsirkin 595cb75498 vhost/scsi: use vmalloc for order-10 allocation
As vhost scsi device struct is large, if the device is
created on a busy system, kzalloc() might fail, so this patch does a
fallback to vzalloc().

As vmalloc() adds overhead on data-path, add __GFP_REPEAT
to kzalloc() flags to do this fallback only when really needed.

Reviewed-by: Asias He <asias@redhat.com>
Reported-by: Dan Aloni <alonid@stratoscale.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-09-17 22:55:46 +03: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 vmalloc for order-10 allocation 2013-09-17 22:55:46 +03: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