Skip to contentSkip to conversation

mm/vmscan: update the comment of should_continue_reclaim()

PATCH Applied Qiwu Chen 1 participant 1 message May 1, 2020

Subsystems (3)
lore
Share & tools
lore

Qiwu Chen

author
#0 lore raw

PATCH 1/1 mm/vmscan: update the comment of should_continue_reclaim()

The try_to_compact_zone() function has been replaced by try_to_compact_pages(), which is necessary to be updated in the comment of should_continue_reclaim().

---
 mm/vmscan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmscan.c +1 -1
index dca623db51c8..297cde712670 100644
@@ -2567,7 +2567,7 @@ static bool in_reclaim_compaction(struct scan_control *sc)
  * Reclaim/compaction is used for high-order allocation requests. It reclaims
  * order-0 pages before compacting the zone. should_continue_reclaim() returns
  * true if more pages should be reclaimed such that when the page allocator
- * calls try_to_compact_zone() that it will have enough free pages to succeed.
+ * calls try_to_compact_pages() that it will have enough free pages to succeed.
  * It will give up earlier than that if there is difficulty reclaiming pages.
  */
 static inline bool should_continue_reclaim(struct pglist_data *pgdat,
Signature · 1 line
2.17.1