linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] vhost: avoid large order allocations
@ 2014-05-13  8:35 Michael Mueller
  2014-05-13  8:35 ` Michael Mueller
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Mueller @ 2014-05-13  8:35 UTC (permalink / raw)
  To: mst, kvm, virtualization, netdev, linux-kernel
  Cc: borntraeger, cornelia.huck, mimu, ddongch

A test case which generates memory pressure while performing guest administration
fails with vhost triggering "page allocation failure" and guest not starting up.

After some analysis we discovered the allocation order of vhost to be rensponsible
for this behaviour. Thus we suggest patch 1/1 which dynamically allocates the
required memory. Please see its description for details.

Thanks,
Michael 

Dong Dong Chen (1):
  vhost: avoid large order allocations

 drivers/vhost/net.c   | 4 ++--
 drivers/vhost/scsi.c  | 4 ++--
 drivers/vhost/test.c  | 2 +-
 drivers/vhost/vhost.c | 6 +++++-
 drivers/vhost/vhost.h | 2 +-
 5 files changed, 11 insertions(+), 7 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-13 11:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13  8:35 [PATCH v1] vhost: avoid large order allocations Michael Mueller
2014-05-13  8:35 ` Michael Mueller
2014-05-13  8:40   ` Michael S. Tsirkin
2014-05-13  8:57     ` Michael Mueller
2014-05-13 14:29     ` Romain Francoise
2014-05-13 15:07       ` Michael Mueller
2014-05-13 15:15       ` Michael S. Tsirkin
2014-05-14  8:11         ` Michael Mueller
2014-06-13 11:56         ` Michael Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).