Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Kirill A. Shutemov
On Mon, Sep 28, 2015 at 02:48:12PM +0300, Konstantin Khlebnikov wrote: > On 28.09.2015 14:03, Kirill A. Shutemov wrote: > >On Mon, Sep 28, 2015 at 01:02:19PM +0300, Konstantin Khlebnikov wrote: > >>On 25.09.2015 22:13, Kirill A. Shutemov wrote: > >>>On Fri, Sep 25, 2015 at 03:29:17PM +0300,

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Konstantin Khlebnikov
On 28.09.2015 14:03, Kirill A. Shutemov wrote: On Mon, Sep 28, 2015 at 01:02:19PM +0300, Konstantin Khlebnikov wrote: On 25.09.2015 22:13, Kirill A. Shutemov wrote: On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: On 24.09.2015 17:50, Kirill A. Shutemov wrote: This

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Kirill A. Shutemov
On Mon, Sep 28, 2015 at 01:02:19PM +0300, Konstantin Khlebnikov wrote: > On 25.09.2015 22:13, Kirill A. Shutemov wrote: > >On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: > >>On 24.09.2015 17:50, Kirill A. Shutemov wrote: > >>>This patch adds a third argument to macros which

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Konstantin Khlebnikov
On 25.09.2015 22:13, Kirill A. Shutemov wrote: On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: On 24.09.2015 17:50, Kirill A. Shutemov wrote: This patch adds a third argument to macros which create function definitions for page flags. This argument defines how

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Kirill A. Shutemov
On Mon, Sep 28, 2015 at 02:48:12PM +0300, Konstantin Khlebnikov wrote: > On 28.09.2015 14:03, Kirill A. Shutemov wrote: > >On Mon, Sep 28, 2015 at 01:02:19PM +0300, Konstantin Khlebnikov wrote: > >>On 25.09.2015 22:13, Kirill A. Shutemov wrote: > >>>On Fri, Sep 25, 2015 at 03:29:17PM +0300,

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Konstantin Khlebnikov
On 28.09.2015 14:03, Kirill A. Shutemov wrote: On Mon, Sep 28, 2015 at 01:02:19PM +0300, Konstantin Khlebnikov wrote: On 25.09.2015 22:13, Kirill A. Shutemov wrote: On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: On 24.09.2015 17:50, Kirill A. Shutemov wrote: This

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Konstantin Khlebnikov
On 25.09.2015 22:13, Kirill A. Shutemov wrote: On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: On 24.09.2015 17:50, Kirill A. Shutemov wrote: This patch adds a third argument to macros which create function definitions for page flags. This argument defines how

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-28 Thread Kirill A. Shutemov
On Mon, Sep 28, 2015 at 01:02:19PM +0300, Konstantin Khlebnikov wrote: > On 25.09.2015 22:13, Kirill A. Shutemov wrote: > >On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: > >>On 24.09.2015 17:50, Kirill A. Shutemov wrote: > >>>This patch adds a third argument to macros which

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-25 Thread Kirill A. Shutemov
On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: > On 24.09.2015 17:50, Kirill A. Shutemov wrote: > >This patch adds a third argument to macros which create function > >definitions for page flags. This argument defines how page-flags helpers > >behave on compound functions.

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-25 Thread Konstantin Khlebnikov
On 24.09.2015 17:50, Kirill A. Shutemov wrote: This patch adds a third argument to macros which create function definitions for page flags. This argument defines how page-flags helpers behave on compound functions. For now we define four policies: - PF_ANY: the helper function operates on the

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-25 Thread Kirill A. Shutemov
On Fri, Sep 25, 2015 at 03:29:17PM +0300, Konstantin Khlebnikov wrote: > On 24.09.2015 17:50, Kirill A. Shutemov wrote: > >This patch adds a third argument to macros which create function > >definitions for page flags. This argument defines how page-flags helpers > >behave on compound functions.

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-25 Thread Konstantin Khlebnikov
On 24.09.2015 17:50, Kirill A. Shutemov wrote: This patch adds a third argument to macros which create function definitions for page flags. This argument defines how page-flags helpers behave on compound functions. For now we define four policies: - PF_ANY: the helper function operates on the

[PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-24 Thread Kirill A. Shutemov
This patch adds a third argument to macros which create function definitions for page flags. This argument defines how page-flags helpers behave on compound functions. For now we define four policies: - PF_ANY: the helper function operates on the page it gets, regardless if it's non-compound,

[PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-09-24 Thread Kirill A. Shutemov
This patch adds a third argument to macros which create function definitions for page flags. This argument defines how page-flags helpers behave on compound functions. For now we define four policies: - PF_ANY: the helper function operates on the page it gets, regardless if it's non-compound,

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-03-20 Thread Kirill A. Shutemov
On Fri, Mar 20, 2015 at 01:35:53PM -0700, Andrew Morton wrote: > On Thu, 19 Mar 2015 19:08:09 +0200 "Kirill A. Shutemov" > wrote: > > > This patch third argument to macros which create function definitions > > for page flags. This arguments defines how page-flags helpers behave > > on compound

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-03-20 Thread Andrew Morton
On Thu, 19 Mar 2015 19:08:09 +0200 "Kirill A. Shutemov" wrote: > This patch third argument to macros which create function definitions > for page flags. This arguments defines how page-flags helpers behave > on compound functions. > > For now we define four policies: > > - ANY: the helper

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-03-20 Thread Andrew Morton
On Thu, 19 Mar 2015 19:08:09 +0200 Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: This patch third argument to macros which create function definitions for page flags. This arguments defines how page-flags helpers behave on compound functions. For now we define four policies:

Re: [PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-03-20 Thread Kirill A. Shutemov
On Fri, Mar 20, 2015 at 01:35:53PM -0700, Andrew Morton wrote: On Thu, 19 Mar 2015 19:08:09 +0200 Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: This patch third argument to macros which create function definitions for page flags. This arguments defines how page-flags helpers

[PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-03-19 Thread Kirill A. Shutemov
This patch third argument to macros which create function definitions for page flags. This arguments defines how page-flags helpers behave on compound functions. For now we define four policies: - ANY: the helper function operates on the page it gets, regardless if it's non-compound, head or

[PATCH 03/16] page-flags: introduce page flags policies wrt compound pages

2015-03-19 Thread Kirill A. Shutemov
This patch third argument to macros which create function definitions for page flags. This arguments defines how page-flags helpers behave on compound functions. For now we define four policies: - ANY: the helper function operates on the page it gets, regardless if it's non-compound, head or