* [PATCH] mm/vmscan: update the comment of should_continue_reclaim()
@ 2020-05-01 3:49 Qiwu Chen
0 siblings, 0 replies; only message in thread
From: Qiwu Chen @ 2020-05-01 3:49 UTC (permalink / raw)
To: akpm; +Cc: linux-mm, Qiwu Chen
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().
Signed-off-by: Qiwu Chen <chenqiwu@xiaomi.com>
---
mm/vmscan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/vmscan.c b/mm/vmscan.c
index dca623db51c8..297cde712670 100644
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -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,
--
2.17.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-01 3:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01 3:49 [PATCH] mm/vmscan: update the comment of should_continue_reclaim() Qiwu Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox