Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-27 Thread Charan Teja Kalla
On 1/25/2021 4:24 AM, David Rientjes wrote: > On Wed, 20 Jan 2021, Vlastimil Babka wrote: > >> On 1/19/21 8:26 PM, David Rientjes wrote: >>> On Mon, 18 Jan 2021, Charan Teja Reddy wrote: >>> should_proactive_compact_node() returns true when sum of the weighted fragmentation score of a

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-26 Thread Vlastimil Babka
On 1/18/21 6:12 PM, Charan Teja Reddy wrote: > should_proactive_compact_node() returns true when sum of the > weighted 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 zone

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-24 Thread David Rientjes
On Wed, 20 Jan 2021, Vlastimil Babka wrote: > On 1/19/21 8:26 PM, David Rientjes wrote: > > On Mon, 18 Jan 2021, Charan Teja Reddy wrote: > > > >> should_proactive_compact_node() returns true when sum of the > >> weighted fragmentation score of all the zones in the node is greater > >> than the w

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-20 Thread Vlastimil Babka
On 1/19/21 8:26 PM, David Rientjes wrote: > On Mon, 18 Jan 2021, Charan Teja Reddy wrote: > >> should_proactive_compact_node() returns true when sum of the >> weighted fragmentation score of all the zones in the node is greater >> than the wmark_high of compaction, which then triggers the proactiv

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-19 Thread David Rientjes
On Mon, 18 Jan 2021, Charan Teja Reddy wrote: > should_proactive_compact_node() returns true when sum of the > weighted 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 zo

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-19 Thread Khalid Aziz
On 1/18/21 10:12 AM, Charan Teja Reddy wrote: should_proactive_compact_node() returns true when sum of the weighted 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

Re: [PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-18 Thread Vlastimil Babka
On 1/18/21 6:12 PM, Charan Teja Reddy wrote: > should_proactive_compact_node() returns true when sum of the > weighted 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 zone

[PATCH V3] mm/compaction: correct deferral logic for proactive compaction

2021-01-18 Thread Charan Teja Reddy
should_proactive_compact_node() returns true when sum of the weighted 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 z