]> Git Repo - linux.git/commit
mm, compaction: remove unnecessary zone parameter in some instances
authorMel Gorman <[email protected]>
Tue, 5 Mar 2019 23:44:36 +0000 (15:44 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Mar 2019 05:07:16 +0000 (21:07 -0800)
commit40cacbcb324036233a927418441323459d28d19b
tree2e6d9f1b5cca32ca9d0b7f6cbfcf3237dc4c7473
parent566e54e113eb2b669f9300db2c2df400cbb06646
mm, compaction: remove unnecessary zone parameter in some instances

A zone parameter is passed into a number of top-level compaction
functions despite the fact that it's already in compact_control.  This
is harmless but it did need an audit to check if zone actually ever
changes meaningfully.  This patches removes the parameter in a number of
top-level functions.  The change could be much deeper but this was
enough to briefly clarify the flow.

No functional change.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mel Gorman <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: YueHaibing <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/compaction.c
This page took 0.056982 seconds and 4 git commands to generate.