Re: [PATCH] mm/compaction: return proper state in should_proactive_compact_node

2021-01-15 Thread Charan Teja Kalla
Thank you Vlastimil!! On 1/15/2021 6:15 PM, Vlastimil Babka wrote: > On 1/13/21 3:03 PM, Charan Teja Reddy wrote: >> should_proactive_compact_node() returns true when sum of the >> fragmentation score of all the zones in the node is greater than the >> wmark_high of compaction which then triggers

Re: [PATCH] mm/compaction: return proper state in should_proactive_compact_node

2021-01-15 Thread Vlastimil Babka
On 1/13/21 3:03 PM, Charan Teja Reddy wrote: > should_proactive_compact_node() returns true when sum of the > fragmentation score of all the zones in the node is greater than the > wmark_high of compaction which then triggers the proactive compaction > that operates on the individual zones of the

Re: [PATCH] mm/compaction: return proper state in should_proactive_compact_node

2021-01-13 Thread Andrew Morton
On Wed, 13 Jan 2021 19:33:06 +0530 Charan Teja Reddy wrote: > should_proactive_compact_node() returns true when sum of the > fragmentation score of all the zones in the node is greater than the > wmark_high of compaction which then triggers the proactive compaction > that operates on the

[PATCH] mm/compaction: return proper state in should_proactive_compact_node

2021-01-13 Thread Charan Teja Reddy
should_proactive_compact_node() returns true when sum of the fragmentation score of all the zones in the node is greater than the wmark_high of compaction which then triggers the proactive compaction that operates on the individual zones of the node. But proactive compaction runs on the zone only