* [merged mm-stable] mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false.patch removed from -mm tree
@ 2023-06-09 23:29 Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2023-06-09 23:29 UTC (permalink / raw)
To: mm-commits, vbabka, mgorman, baolin.wang, akpm
The quilt patch titled
Subject: mm: compaction: only set skip flag if cc->no_set_skip_hint is false
has been removed from the -mm tree. Its filename was
mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Baolin Wang <baolin.wang@linux.alibaba.com>
Subject: mm: compaction: only set skip flag if cc->no_set_skip_hint is false
Date: Thu, 25 May 2023 20:53:59 +0800
To keep the same logic as test_and_set_skip(), only set the skip flag if
cc->no_set_skip_hint is false, which makes code more reasonable.
Link: https://lkml.kernel.org/r/0eb2cd2407ffb259ae6e3071e10f70f2d41d0f3e.1685018752.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/compaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/compaction.c~mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false
+++ a/mm/compaction.c
@@ -1201,7 +1201,7 @@ isolate_abort:
* rescanned twice in a row.
*/
if (low_pfn == end_pfn && (!nr_isolated || cc->finish_pageblock)) {
- if (valid_page && !skip_updated)
+ if (!cc->no_set_skip_hint && valid_page && !skip_updated)
set_pageblock_skip(valid_page);
update_cached_migrate(cc, low_pfn);
}
_
Patches currently in -mm which might be from baolin.wang@linux.alibaba.com are
^ permalink raw reply [flat|nested] 2+ messages in thread
* [merged mm-stable] mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false.patch removed from -mm tree
@ 2023-08-21 20:40 Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2023-08-21 20:40 UTC (permalink / raw)
To: mm-commits, mgorman, david, baolin.wang, shikemeng, akpm
The quilt patch titled
Subject: mm/compaction: only set skip flag if cc->no_set_skip_hint is false
has been removed from the -mm tree. Its filename was
mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Kemeng Shi <shikemeng@huaweicloud.com>
Subject: mm/compaction: only set skip flag if cc->no_set_skip_hint is false
Date: Fri, 4 Aug 2023 19:04:54 +0800
Keep the same logic as update_pageblock_skip, only set skip if
no_set_skip_hint is false which is more reasonable.
Link: https://lkml.kernel.org/r/20230804110454.2935878-9-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/compaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/compaction.c~mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false
+++ a/mm/compaction.c
@@ -1442,7 +1442,7 @@ fast_isolate_around(struct compact_contr
isolate_freepages_block(cc, &start_pfn, end_pfn, &cc->freepages, 1, false);
/* Skip this pageblock in the future as it's full or nearly full */
- if (start_pfn == end_pfn)
+ if (start_pfn == end_pfn && !cc->no_set_skip_hint)
set_pageblock_skip(page);
}
_
Patches currently in -mm which might be from shikemeng@huaweicloud.com are
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-21 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-09 23:29 [merged mm-stable] mm-compaction-only-set-skip-flag-if-cc-no_set_skip_hint-is-false.patch removed from -mm tree Andrew Morton
-- strict thread matches above, loose matches on Subject: below --
2023-08-21 20:40 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.