Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-04-13 Thread Wei Wang
On 03/17/2017 05:28 AM, Andrew Morton wrote: On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang wrote: From: Liang Li This patch adds a function to provides a snapshot of the present system unused pages. An important usage of this function is to provide

Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-31 Thread Michael S. Tsirkin
On Fri, Mar 31, 2017 at 05:53:00PM +0800, Wei Wang wrote: > On 03/30/2017 01:48 AM, Michael S. Tsirkin wrote: > > On Fri, Mar 17, 2017 at 02:55:33PM +0800, Wei Wang wrote: > > > On 03/17/2017 05:28 AM, Andrew Morton wrote: > > > > On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang

Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-31 Thread Wei Wang
On 03/30/2017 01:48 AM, Michael S. Tsirkin wrote: On Fri, Mar 17, 2017 at 02:55:33PM +0800, Wei Wang wrote: On 03/17/2017 05:28 AM, Andrew Morton wrote: On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang wrote: From: Liang Li This patch adds a function

Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-29 Thread Michael S. Tsirkin
On Fri, Mar 17, 2017 at 02:55:33PM +0800, Wei Wang wrote: > On 03/17/2017 05:28 AM, Andrew Morton wrote: > > On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang wrote: > > > > > From: Liang Li > > > > > > This patch adds a function to provides a snapshot of

RE: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-22 Thread Wang, Wei W
Hi Andrew, Do you have any comments on my thoughts? Thanks. > On 03/17/2017 05:28 AM, Andrew Morton wrote: > > On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang > wrote: > > > >> From: Liang Li > >> > >> This patch adds a function to provides a snapshot

Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-17 Thread Wei Wang
On 03/17/2017 05:28 AM, Andrew Morton wrote: On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang wrote: From: Liang Li This patch adds a function to provides a snapshot of the present system unused pages. An important usage of this function is to provide

Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-16 Thread Michael S. Tsirkin
On Thu, Mar 16, 2017 at 03:08:46PM +0800, Wei Wang wrote: > +/* > + * The record_unused_pages() function is used to record the system unused > + * pages. The unused pages can be skipped to transfer during live migration. > + * Though the unused pages are dynamically changing, dirty page logging >

Re: [PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-16 Thread Andrew Morton
On Thu, 16 Mar 2017 15:08:46 +0800 Wei Wang wrote: > From: Liang Li > > This patch adds a function to provides a snapshot of the present system > unused pages. An important usage of this function is to provide the > unsused pages to the Live

[PATCH kernel v8 3/4] mm: add inerface to offer info about unused pages

2017-03-16 Thread Wei Wang
From: Liang Li This patch adds a function to provides a snapshot of the present system unused pages. An important usage of this function is to provide the unsused pages to the Live migration thread, which skips the transfer of thoses unused pages. Newly used pages can be