Re: [PATCH] vhost: introduce vDPA based backend

2020-01-30 Thread Tiwei Bie
On Thu, Jan 30, 2020 at 09:12:57PM -0800, Randy Dunlap wrote: > On 1/30/20 7:56 PM, Randy Dunlap wrote: > > Hi, > > > > On 1/30/20 7:36 PM, Tiwei Bie wrote: > >> diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig > >> index f21c45aa5e07..13e6a94d0243 100644 > >> --- a/drivers/vhost/Kconfig

Re: [PATCH] vhost: introduce vDPA based backend

2020-01-30 Thread Tiwei Bie
On Thu, Jan 30, 2020 at 07:56:43PM -0800, Randy Dunlap wrote: > Hi, > > On 1/30/20 7:36 PM, Tiwei Bie wrote: > > diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig > > index f21c45aa5e07..13e6a94d0243 100644 > > --- a/drivers/vhost/Kconfig > > +++ b/drivers/vhost/Kconfig > > @@ -34,6 +34,1

Re: [PATCH] vhost: introduce vDPA based backend

2020-01-30 Thread Randy Dunlap
On 1/30/20 7:56 PM, Randy Dunlap wrote: > Hi, > > On 1/30/20 7:36 PM, Tiwei Bie wrote: >> diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig >> index f21c45aa5e07..13e6a94d0243 100644 >> --- a/drivers/vhost/Kconfig >> +++ b/drivers/vhost/Kconfig >> @@ -34,6 +34,18 @@ config VHOST_VSOCK >>

Re: [PATCH] vhost: introduce vDPA based backend

2020-01-30 Thread Randy Dunlap
Hi, On 1/30/20 7:36 PM, Tiwei Bie wrote: > diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig > index f21c45aa5e07..13e6a94d0243 100644 > --- a/drivers/vhost/Kconfig > +++ b/drivers/vhost/Kconfig > @@ -34,6 +34,18 @@ config VHOST_VSOCK > To compile this driver as a module, choose M h

[PATCH] vhost: introduce vDPA based backend

2020-01-30 Thread Tiwei Bie
This patch introduces a vDPA based vhost backend. This backend is built on top of the same interface defined in virtio-vDPA and provides a generic vhost interface for userspace to accelerate the virtio devices in guest. This backend is implemented as a vDPA device driver on top of the same ops use

Re: Balloon pressuring page cache

2020-01-30 Thread Tyler Sanderson via Virtualization
On Thu, Jan 30, 2020 at 7:03 AM David Hildenbrand wrote: > On 29.01.20 20:11, Tyler Sanderson wrote: > > > > > > On Wed, Jan 29, 2020 at 2:31 AM David Hildenbrand > > wrote: > > > > On 29.01.20 01:22, Tyler Sanderson via Virtualization wrote: > > > A primary adva

Re: Balloon pressuring page cache

2020-01-30 Thread Tyler Sanderson via Virtualization
On Thu, Jan 30, 2020 at 7:31 AM Wang, Wei W wrote: > On Thursday, January 30, 2020 11:03 PM, David Hildenbrand wrote: > > On 29.01.20 20:11, Tyler Sanderson wrote: > > > > > > > > > On Wed, Jan 29, 2020 at 2:31 AM David Hildenbrand > > > wrote: > > > > > > On 29.01.2

RE: Balloon pressuring page cache

2020-01-30 Thread Wang, Wei W
On Thursday, January 30, 2020 11:03 PM, David Hildenbrand wrote: > On 29.01.20 20:11, Tyler Sanderson wrote: > > > > > > On Wed, Jan 29, 2020 at 2:31 AM David Hildenbrand > > wrote: > > > > On 29.01.20 01:22, Tyler Sanderson via Virtualization wrote: > > > A primar

Re: Balloon pressuring page cache

2020-01-30 Thread David Hildenbrand
On 30.01.20 16:20, Michael S. Tsirkin wrote: > On Thu, Jan 30, 2020 at 04:02:34PM +0100, David Hildenbrand wrote: >> On 29.01.20 20:11, Tyler Sanderson wrote: >>> >>> >>> On Wed, Jan 29, 2020 at 2:31 AM David Hildenbrand >> > wrote: >>> >>> On 29.01.20 01:22, Tyler Sand

Re: Balloon pressuring page cache

2020-01-30 Thread Michael S. Tsirkin
On Thu, Jan 30, 2020 at 04:02:34PM +0100, David Hildenbrand wrote: > On 29.01.20 20:11, Tyler Sanderson wrote: > > > > > > On Wed, Jan 29, 2020 at 2:31 AM David Hildenbrand > > wrote: > > > > On 29.01.20 01:22, Tyler Sanderson via Virtualization wrote: > > > A p

Re: Balloon pressuring page cache

2020-01-30 Thread David Hildenbrand
On 29.01.20 20:11, Tyler Sanderson wrote: > > > On Wed, Jan 29, 2020 at 2:31 AM David Hildenbrand > wrote: > > On 29.01.20 01:22, Tyler Sanderson via Virtualization wrote: > > A primary advantage of virtio balloon over other memory reclaim > > mechanisms is