Re: [PATCH] mm: compact: remove watermark check at compact suitable

2016-05-23 Thread Vlastimil Babka
On 05/23/2016 05:20 AM, Chen Feng wrote: There are two paths calling this function. For direct compact, there is no need to check the zone watermark here. For kswapd wakeup kcompactd, since there is a reclaim before this. It makes sense to do compact even the watermark is ok at this time. Hi,

[PATCH] mm: compact: remove watermark check at compact suitable

2016-05-22 Thread Chen Feng
There are two paths calling this function. For direct compact, there is no need to check the zone watermark here. For kswapd wakeup kcompactd, since there is a reclaim before this. It makes sense to do compact even the watermark is ok at this time. Signed-off-by: Chen Feng --- mm/compaction.c |