Re: [PATCH 0/4] Follow-up "Fix excessive CPU usage during compaction"

From: Baolin Wang
Date: Tue May 23 2023 - 09:47:49 EST


Hi Mel,

On 5/15/2023 7:33 PM, Mel Gorman wrote:
The series "Fix excessive CPU usage during compaction" [1] attempted to
fix a bug [2] but Vlastimil noted that the fix was incomplete [3]. While
the series was merged, fast_find_migrateblock was still disabled. This
series should fix the corner cases and allow 95e7a450b819 ("Revert
"mm/compaction: fix set skip in fast_find_migrateblock"") to be safely
reverted. Details on how many pageblocks are rescanned are in the
changelog of the last patch.

[1] https://lore.kernel.org/r/20230125134434.18017-1-mgorman@xxxxxxxxxxxxxxxxxxx
[2] https://bugzilla.suse.com/show_bug.cgi?id=1206848
[3] https://lore.kernel.org/r/a55cf026-a2f9-ef01-9a4c-398693e048ea@xxxxxxx

I've run this series on my machine, which can solve the regression I met before [1], and no other issues found. So please feel free to add:
Tested-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>

[1] https://lore.kernel.org/all/3576e3520c044beb2a81860aecb2d4f597089300.1682521303.git.baolin.wang@xxxxxxxxxxxxxxxxx/


mm/compaction.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)