Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 8:46 AM David Hildenbrand wrote: > > On 23.09.19 17:37, Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > >>> > >>> On Mon, Sep 23, 2019 at 07:50:15AM -0700,

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:50, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 05:47:24PM +0200, David Hildenbrand wrote: >> On 23.09.19 17:45, David Hildenbrand wrote: >>> On 23.09.19 17:37, Michael S. Tsirkin wrote: On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > On Mon, Sep

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 05:47:24PM +0200, David Hildenbrand wrote: > On 23.09.19 17:45, David Hildenbrand wrote: > > On 23.09.19 17:37, Michael S. Tsirkin wrote: > >> On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >>> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin > >>>

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 05:45:29PM +0200, David Hildenbrand wrote: > On 23.09.19 17:37, Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > >>> > >>> On Mon, Sep 23, 2019 at 07:50:15AM

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:45, David Hildenbrand wrote: > On 23.09.19 17:37, Michael S. Tsirkin wrote: >> On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: >>> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote:

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread David Hildenbrand
On 23.09.19 17:37, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: >> On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: >>> >>> On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: >> +static inline void >>

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 08:28:00AM -0700, Alexander Duyck wrote: > On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > > > > On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: > > > > > +static inline void > > > > > +page_reporting_reset_boundary(struct zone *zone, unsigned

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 8:00 AM Michael S. Tsirkin wrote: > > On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: > > > > +static inline void > > > > +page_reporting_reset_boundary(struct zone *zone, unsigned int order, > > > > int mt) > > > > +{ > > > > + int index; > > > > + >

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 07:50:15AM -0700, Alexander Duyck wrote: > > > +static inline void > > > +page_reporting_reset_boundary(struct zone *zone, unsigned int order, int > > > mt) > > > +{ > > > + int index; > > > + > > > + if (order < PAGE_REPORTING_MIN_ORDER) > > > +

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Alexander Duyck
On Mon, Sep 23, 2019 at 1:16 AM Michael S. Tsirkin wrote: > > On Wed, Sep 18, 2019 at 10:52:49AM -0700, Alexander Duyck wrote: > > From: Alexander Duyck > > > > In order to pave the way for free page reporting in virtualized > > environments we will need a way to get pages out of the free lists

Re: [PATCH v10 3/6] mm: Introduce Reported pages

2019-09-23 Thread Michael S. Tsirkin
On Wed, Sep 18, 2019 at 10:52:49AM -0700, Alexander Duyck wrote: > From: Alexander Duyck > > In order to pave the way for free page reporting in virtualized > environments we will need a way to get pages out of the free lists and > identify those pages after they have been returned. To

[PATCH v10 3/6] mm: Introduce Reported pages

2019-09-18 Thread Alexander Duyck
From: Alexander Duyck In order to pave the way for free page reporting in virtualized environments we will need a way to get pages out of the free lists and identify those pages after they have been returned. To accomplish this, this patch adds the concept of a Reported Buddy, which is