[v3,0/8] Fixes and cleanups to compaction

Message ID 20230804110454.2935878-1-shikemeng@huaweicloud.com
Headers
Series Fixes and cleanups to compaction |

Message

Kemeng Shi Aug. 4, 2023, 11:04 a.m. UTC
  Hi all, this series contains some random cleanups and fixes to
compation. Details can be found in respective patches.

v2->v3:
-Improve comment in patch 4
-Collect ACK and RVB from David and Baolin.
-Rebase code on current mm-unstable

v1->v2:
-Add comment to skip_offline_sections_reverse in patch 1
-Add impact in git message in patch 2
-Correct comment to fast_find_block instead of remove fast_find_block
in patch 4
-Collect RVB from David and Baolin.

Kemeng Shi (8):
  mm/compaction: avoid missing last page block in section after skip
    offline sections
  mm/compaction: correct last_migrated_pfn update in compact_zone
  mm/compaction: skip page block marked skip in
    isolate_migratepages_block
  mm/compaction: correct comment of fast_find_migrateblock in
    isolate_migratepages
  mm/compaction: correct comment of cached migrate pfn update
  mm/compaction: correct comment to complete migration failure
  mm/compaction: remove unnecessary return for void function
  mm/compaction: only set skip flag if cc->no_set_skip_hint is false

 mm/compaction.c | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)