Thread (16 messages) flat view 16 messages, 5 authors, 2015-05-19

Re: [PATCH] vhost: support upto 509 memory regions

From: Paolo Bonzini <pbonzini@redhat.com>
Date: 2015-02-17 10:59:52
Also in: kvm, lkml


On 17/02/2015 10:02, Michael S. Tsirkin wrote:
quoted
Increasing VHOST_MEMORY_MAX_NREGIONS from 65 to 509
to match KVM_USER_MEM_SLOTS fixes issue for vhost-net.

Signed-off-by: Igor Mammedov <redacted>
This scares me a bit: each region is 32byte, we are talking
a 16K allocation that userspace can trigger.
What's bad with a 16K allocation?
How does kvm handle this issue?
It doesn't.

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help