mm, compaction: rearrange compact_control
authorMel Gorman <[email protected]>
Tue, 5 Mar 2019 23:44:28 +0000 (15:44 -0800)
committerLinus Torvalds <[email protected]>
Wed, 6 Mar 2019 05:07:16 +0000 (21:07 -0800)
commitc5943b9c5312d4fa23175ff146e901b865e4a60a
tree625c23c5a4844d31b5618311b2233c91bc3072de
parentc5fbd937b603885f1db3280ca212ed28add895bc
mm, compaction: rearrange compact_control

compact_control spans two cache lines with write-intensive lines on
both.  Rearrange so the most write-intensive fields are in the same
cache line.  This has a negligible impact on the overall performance of
compaction and is more a tidying exercise than anything.

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/internal.h