Skip to content

Commit 112d2d2

Browse files
Yang Shitorvalds
authored andcommitted
mm/compaction.c: fix comment for try_to_compact_pages()
"mode" argument is not used by try_to_compact_pages() and sub functions anymore, it has been replaced by "prio". Fix the comment to explain the use of "prio" argument. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yang Shi <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Cc: Mel Gorman <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 3a45acc commit 112d2d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/compaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,7 @@ int sysctl_extfrag_threshold = 500;
17381738
* @order: The order of the current allocation
17391739
* @alloc_flags: The allocation flags of the current allocation
17401740
* @ac: The context of current allocation
1741-
* @mode: The migration mode for async, sync light, or sync migration
1741+
* @prio: Determines how hard direct compaction should try to succeed
17421742
*
17431743
* This is the main entry point for direct page compaction.
17441744
*/

0 commit comments

Comments
 (0)