Re: [Xen-devel] [PATCH v9] x86/mem-sharing: mem-sharing a range of memory

2016-08-02 Thread Wei Liu
On Tue, Aug 02, 2016 at 01:17:01PM +0100, Wei Liu wrote: > On Mon, Aug 01, 2016 at 11:14:27AM -0600, Tamas K Lengyel wrote: > > Currently mem-sharing can be performed on a page-by-page basis from the > > control > > domain. However, this process is quite wasteful when a range of pages have > > to

Re: [Xen-devel] [PATCH v9] x86/mem-sharing: mem-sharing a range of memory

2016-08-02 Thread Tamas K Lengyel
On Aug 2, 2016 06:17, "Wei Liu" wrote: > > On Mon, Aug 01, 2016 at 11:14:27AM -0600, Tamas K Lengyel wrote: > > Currently mem-sharing can be performed on a page-by-page basis from the control > > domain. However, this process is quite wasteful when a range of pages have to > > be deduplicated. > >

Re: [Xen-devel] [PATCH v9] x86/mem-sharing: mem-sharing a range of memory

2016-08-02 Thread Wei Liu
On Mon, Aug 01, 2016 at 11:14:27AM -0600, Tamas K Lengyel wrote: > Currently mem-sharing can be performed on a page-by-page basis from the > control > domain. However, this process is quite wasteful when a range of pages have to > be deduplicated. > > This patch introduces a new mem_sharing memop

[Xen-devel] [PATCH v9] x86/mem-sharing: mem-sharing a range of memory

2016-08-01 Thread Tamas K Lengyel
Currently mem-sharing can be performed on a page-by-page basis from the control domain. However, this process is quite wasteful when a range of pages have to be deduplicated. This patch introduces a new mem_sharing memop for range sharing where the user doesn't have to separately nominate each pag