* [failures] mm-damon-core-remove-duplicate-check-about-thp.patch removed from -mm tree
@ 2022-09-15 22:25 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-09-15 22:25 UTC (permalink / raw)
To: mm-commits, sj, xhao, akpm
The quilt patch titled
Subject: mm/damon/core: remove duplicate check about THP
has been removed from the -mm tree. Its filename was
mm-damon-core-remove-duplicate-check-about-thp.patch
This patch was dropped because it had testing failures
------------------------------------------------------
From: Xin Hao <xhao@linux.alibaba.com>
Subject: mm/damon/core: remove duplicate check about THP
Date: Thu, 15 Sep 2022 22:22:37 +0800
In damon_young_pmd_entry(), it calls pmd_trans_huge() to check whether the
OS supports THP, if CONFIG_TRANSPARENT_HUGEPAGE is not included, the
pmd_trans_huge() will return 0.
Link: https://lkml.kernel.org/r/20220915142237.92529-2-xhao@linux.alibaba.com
Signed-off-by: Xin Hao <xhao@linux.alibaba.com>
Cc: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/damon/vaddr.c | 2 --
1 file changed, 2 deletions(-)
--- a/mm/damon/vaddr.c~mm-damon-core-remove-duplicate-check-about-thp
+++ a/mm/damon/vaddr.c
@@ -434,7 +434,6 @@ static int damon_young_pmd_entry(pmd_t *
struct page *page;
struct damon_young_walk_private *priv = walk->private;
-#ifdef CONFIG_TRANSPARENT_HUGEPAGE
if (pmd_trans_huge(*pmd)) {
ptl = pmd_lock(walk->mm, pmd);
if (!pmd_present(*pmd)) {
@@ -462,7 +461,6 @@ huge_out:
}
regular_page:
-#endif /* CONFIG_TRANSPARENT_HUGEPAGE */
if (pmd_none(*pmd) || unlikely(pmd_bad(*pmd)))
return -EINVAL;
_
Patches currently in -mm which might be from xhao@linux.alibaba.com are
mm-damon-simply-damon_ctx-check-in-damon_sysfs_before_terminate.patch
mm-damon-remove-duplicate-get_monitoring_region-definitions.patch
mm-damon-sysfs-change-few-functions-execute-order.patch
mm-damon-simplify-scheme-create-in-damon_lru_sort_apply_parameters.patch
mm-damon-sysfs-avoid-call-damon_target_has_pid-repeatedly.patch
mm-damon-simplify-scheme-create-in-lru_sortc.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-15 22:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 22:25 [failures] mm-damon-core-remove-duplicate-check-about-thp.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.