Skip to content

vhost: support more than 64 memory regions

Igor Mammedov kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 1 replySuperseded

Changes in v4 from the cover letter

* rebased on top of vhost-next branch

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost: extend memory regions allocation to vmallocdrivers/vhost/vhost.c+16 -43 replies
2/2vhost: add max_mem_regions module parameterdrivers/vhost/vhost.c+6 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] vhost: support more than 64 memory regions

changes since v3:
* rebased on top of vhost-next branch
changes since v2:
* drop cache patches for now as suggested
* add max_mem_regions module parameter instead of unconditionally increasing limit
* drop bsearch patch since it's already queued

References to previous versions:
v2: https://lkml.org/lkml/2015/6/17/276
v1: http://www.spinics.net/lists/kvm/msg117654.html

Series allows to tweak vhost's memory regions count limit.

It fixes VM crashing on memory hotplug due to vhost refusing accepting more than 64 memory regions with max_mem_regions set to more than 262 slots in default QEMU configuration.

Igor Mammedov (2):
vhost: extend memory regions allocation to vmalloc
vhost: add max_mem_regions module parameter

 drivers/vhost/vhost.c | 28 ++++++++++++++++++++++------
 1 file changed, 22 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.3.1