* [failures] mm-mempolicy-checking-hstate-for-hugetlbfs-page-in-vma_migratable.patch removed from -mm tree
@ 2020-01-15 1:25 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-01-15 1:25 UTC (permalink / raw)
To: lixinhai.lxh, mhocko, mike.kravetz, mm-commits, n-horiguchi, yang.shi
The patch titled
Subject: mm/mempolicy: check hstate for hugetlbfs page in vma_migratable()
has been removed from the -mm tree. Its filename was
mm-mempolicy-checking-hstate-for-hugetlbfs-page-in-vma_migratable.patch
This patch was dropped because it had testing failures
------------------------------------------------------
From: Li Xinhai <lixinhai.lxh@gmail.com>
Subject: mm/mempolicy: check hstate for hugetlbfs page in vma_migratable()
Check hstate at early phase when isolating page, instead of during unmap
and move phase, to avoid useless isolation.
Link: http://lkml.kernel.org/r/1578993378-10860-1-git-send-email-lixinhai.lxh@gmail.com
Signed-off-by: Li Xinhai <lixinhai.lxh@gmail.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Yang Shi <yang.shi@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/mempolicy.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--- a/include/linux/mempolicy.h~mm-mempolicy-checking-hstate-for-hugetlbfs-page-in-vma_migratable
+++ a/include/linux/mempolicy.h
@@ -185,10 +185,9 @@ static inline bool vma_migratable(struct
if (vma_is_dax(vma))
return false;
-#ifndef CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION
- if (vma->vm_flags & VM_HUGETLB)
+ if (is_vm_hugetlb_page(vma) &&
+ !hugepage_migration_supported(hstate_vma(vma)))
return false;
-#endif
/*
* Migration allocates pages in the highest zone. If we cannot
_
Patches currently in -mm which might be from lixinhai.lxh@gmail.com are
mm-page_vma_mappedc-explicitly-compare-pfn-for-normal-hugetlbfs-and-thp-page.patch
mm-mempolicy-skip-walking-hugetlb-vma-if-mpol_mf_strict-is-specified-alone.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-15 1:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 1:25 [failures] mm-mempolicy-checking-hstate-for-hugetlbfs-page-in-vma_migratable.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).