Commit 95e7a45
Revert "mm/compaction: fix set skip in fast_find_migrateblock"
This reverts commit 7efc3b7.
We have got openSUSE reports (Link 1) for 6.1 kernel with khugepaged
stalling CPU for long periods of time. Investigation of tracepoint data
shows that compaction is stuck in repeating fast_find_migrateblock()
based migrate page isolation, and then fails to migrate all isolated
pages.
Commit 7efc3b7 ("mm/compaction: fix set skip in fast_find_migrateblock")
was suspected as it was merged in 6.1 and in theory can indeed remove a
termination condition for fast_find_migrateblock() under certain
conditions, as it removes a place that always marks a scanned pageblock
from being re-scanned. There are other such places, but those can be
skipped under certain conditions, which seems to match the tracepoint
data.
Testing of revert also appears to have resolved the issue, thus revert
the commit until a more robust solution for the original problem is
developed.
It's also likely this will fix qemu stalls with 6.1 kernel reported in
Link 2, but that is not yet confirmed.
Link: https://bugzilla.suse.com/show_bug.cgi?id=1206848
Link: https://lore.kernel.org/kvm/[email protected]/
Link: https://lore.kernel.org/lkml/[email protected]/
Fixes: 7efc3b7 ("mm/compaction: fix set skip in fast_find_migrateblock")
Cc: <[email protected]>
Tested-by: Pedro Falcato <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>1 parent c966182 commit 95e7a45
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1839 | 1839 | | |
1840 | 1840 | | |
1841 | 1841 | | |
| 1842 | + | |
1842 | 1843 | | |
1843 | 1844 | | |
1844 | 1845 | | |
| |||
0 commit comments