Re: [PATCH] drivers/vhost/scsi.c: avoid a 10-order allocation

2013-09-06 Thread Dan Aloni
On Wed, Sep 04, 2013 at 12:02:01PM +0300, Michael S. Tsirkin wrote: > On Sun, Aug 18, 2013 at 12:18:38PM +0300, Michael S. Tsirkin wrote: > > On Sun, Aug 18, 2013 at 11:48:56AM +0300, Dan Aloni wrote: > > > On 3.10.7 and x86_64, as a result of sizeof(struct vhost_scsi) being > > > 2152960 bytes the

Re: [PATCH] drivers/vhost/scsi.c: avoid a 10-order allocation

2013-09-04 Thread Michael S. Tsirkin
On Sun, Aug 18, 2013 at 12:18:38PM +0300, Michael S. Tsirkin wrote: > On Sun, Aug 18, 2013 at 11:48:56AM +0300, Dan Aloni wrote: > > On 3.10.7 and x86_64, as a result of sizeof(struct vhost_scsi) being > > 2152960 bytes the allocation failed once on my development machine. > > > > Saw it would be