On Wed, 2007-07-11 at 13:46 +0200, Christian Borntraeger wrote:
> Am Mittwoch, 11. Juli 2007 schrieb Rusty Russell:
> > There will be some internal limit on how many buffers the virtio
> > implementation supports, but depends on that implementation.  It could
> > be a number of buffers or a total number of descriptors.
> 
> I would suggest to implement a limit in the device driver as well. Otherwise 
> the network driver could allocate a huge amount of guest memory if the virtio
> implementation accepts a large amount of buffers. This memory is not 
> swappable 
> and reclaimable by the memory management, so we should be careful. 

Hi Christian,

        I this this would be premature, but easy enough to do later if we have
such a high-limit virtio implementation.   If we did do it, it would
make sense to have it a variable passed into the net driver.

Thanks,
Rusty.

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to