Re: [PATCH v2 03/12] mm: thp: introduce separate TTU flag for thp freezing

2016-11-11 Thread Kirill A. Shutemov
On Tue, Nov 08, 2016 at 08:31:48AM +0900, Naoya Horiguchi wrote: > TTU_MIGRATION is used to convert pte into migration entry until thp split > completes. This behavior conflicts with thp migration added later patches, > so let's introduce a new TTU flag specifically for freezing. > > Signed-off-by

Re: [PATCH v2 03/12] mm: thp: introduce separate TTU flag for thp freezing

2016-11-10 Thread Anshuman Khandual
On 11/10/2016 02:39 PM, Naoya Horiguchi wrote: > On Thu, Nov 10, 2016 at 02:01:56PM +0530, Anshuman Khandual wrote: >> > On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: >>> > > TTU_MIGRATION is used to convert pte into migration entry until thp >>> > > split >>> > > completes. This behavior conflic

Re: [PATCH v2 03/12] mm: thp: introduce separate TTU flag for thp freezing

2016-11-10 Thread Naoya Horiguchi
On Thu, Nov 10, 2016 at 02:01:56PM +0530, Anshuman Khandual wrote: > On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: > > TTU_MIGRATION is used to convert pte into migration entry until thp split > > completes. This behavior conflicts with thp migration added later patches, > > Hmm, could you please

Re: [PATCH v2 03/12] mm: thp: introduce separate TTU flag for thp freezing

2016-11-10 Thread Anshuman Khandual
On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: > TTU_MIGRATION is used to convert pte into migration entry until thp split > completes. This behavior conflicts with thp migration added later patches, Hmm, could you please explain why it conflicts with the PMD based migration without split ? Why TT

[PATCH v2 03/12] mm: thp: introduce separate TTU flag for thp freezing

2016-11-07 Thread Naoya Horiguchi
TTU_MIGRATION is used to convert pte into migration entry until thp split completes. This behavior conflicts with thp migration added later patches, so let's introduce a new TTU flag specifically for freezing. Signed-off-by: Naoya Horiguchi --- include/linux/rmap.h | 1 + mm/huge_memory.c |