Re: [PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-19 Thread Mel Gorman
On Tue, Dec 17, 2013 at 05:53:45PM -0500, Sasha Levin wrote: > Hi Mel, > > On 12/10/2013 10:51 AM, Mel Gorman wrote: > >+ > >+/* mmap_sem prevents this happening but warn if that changes */ > >+WARN_ON(pmd_trans_migrating(pmd)); > >+ > > I seem to be hitting this warning with latest

Re: [PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-19 Thread Mel Gorman
On Tue, Dec 17, 2013 at 05:53:45PM -0500, Sasha Levin wrote: Hi Mel, On 12/10/2013 10:51 AM, Mel Gorman wrote: + +/* mmap_sem prevents this happening but warn if that changes */ +WARN_ON(pmd_trans_migrating(pmd)); + I seem to be hitting this warning with latest -next kernel:

Re: [PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-17 Thread Sasha Levin
Hi Mel, On 12/10/2013 10:51 AM, Mel Gorman wrote: + + /* mmap_sem prevents this happening but warn if that changes */ + WARN_ON(pmd_trans_migrating(pmd)); + I seem to be hitting this warning with latest -next kernel: [ 1704.594807] WARNING: CPU: 28 PID: 35287 at

Re: [PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-17 Thread Sasha Levin
Hi Mel, On 12/10/2013 10:51 AM, Mel Gorman wrote: + + /* mmap_sem prevents this happening but warn if that changes */ + WARN_ON(pmd_trans_migrating(pmd)); + I seem to be hitting this warning with latest -next kernel: [ 1704.594807] WARNING: CPU: 28 PID: 35287 at

[PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-10 Thread Mel Gorman
do_huge_pmd_numa_page() handles the case where there is parallel THP migration. However, by the time it is checked the NUMA hinting information has already been disrupted. This patch adds an earlier check with some helpers. Cc: sta...@vger.kernel.org Signed-off-by: Mel Gorman Reviewed-by: Rik

[PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-10 Thread Mel Gorman
do_huge_pmd_numa_page() handles the case where there is parallel THP migration. However, by the time it is checked the NUMA hinting information has already been disrupted. This patch adds an earlier check with some helpers. Cc: sta...@vger.kernel.org Signed-off-by: Mel Gorman mgor...@suse.de

Re: [PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-09 Thread Rik van Riel
On 12/09/2013 02:09 AM, Mel Gorman wrote: > do_huge_pmd_numa_page() handles the case where there is parallel THP > migration. However, by the time it is checked the NUMA hinting information > has already been disrupted. This patch adds an earlier check with some > helpers. > > Cc:

Re: [PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-09 Thread Rik van Riel
On 12/09/2013 02:09 AM, Mel Gorman wrote: do_huge_pmd_numa_page() handles the case where there is parallel THP migration. However, by the time it is checked the NUMA hinting information has already been disrupted. This patch adds an earlier check with some helpers. Cc:

[PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-08 Thread Mel Gorman
do_huge_pmd_numa_page() handles the case where there is parallel THP migration. However, by the time it is checked the NUMA hinting information has already been disrupted. This patch adds an earlier check with some helpers. Cc: sta...@vger.kernel.org Signed-off-by: Mel Gorman ---

[PATCH 10/18] mm: numa: Avoid unnecessary disruption of NUMA hinting during migration

2013-12-08 Thread Mel Gorman
do_huge_pmd_numa_page() handles the case where there is parallel THP migration. However, by the time it is checked the NUMA hinting information has already been disrupted. This patch adds an earlier check with some helpers. Cc: sta...@vger.kernel.org Signed-off-by: Mel Gorman mgor...@suse.de ---