Re: [PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Chen Feng
On 2016/5/20 1:45, Vlastimil Babka wrote: > On 19.5.2016 19:23, Hugh Dickins wrote: >> On Thu, 19 May 2016, Vlastimil Babka wrote: >>> On 05/19/2016 02:11 PM, Vlastimil Babka wrote: On 05/19/2016 01:58 PM, Chen Feng wrote: > While testing the kcompactd in my platform 3G MEM only DMA ZONE

Re: [PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Chen Feng
On 2016/5/20 1:45, Vlastimil Babka wrote: > On 19.5.2016 19:23, Hugh Dickins wrote: >> On Thu, 19 May 2016, Vlastimil Babka wrote: >>> On 05/19/2016 02:11 PM, Vlastimil Babka wrote: On 05/19/2016 01:58 PM, Chen Feng wrote: > While testing the kcompactd in my platform 3G MEM only DMA ZONE

Re: [PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Vlastimil Babka
On 19.5.2016 19:23, Hugh Dickins wrote: > On Thu, 19 May 2016, Vlastimil Babka wrote: >> On 05/19/2016 02:11 PM, Vlastimil Babka wrote: >>> On 05/19/2016 01:58 PM, Chen Feng wrote: While testing the kcompactd in my platform 3G MEM only DMA ZONE. I found the kcompactd never wakeup. It seem

Re: [PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Hugh Dickins
On Thu, 19 May 2016, Vlastimil Babka wrote: > On 05/19/2016 02:11 PM, Vlastimil Babka wrote: > > On 05/19/2016 01:58 PM, Chen Feng wrote: > >> While testing the kcompactd in my platform 3G MEM only DMA ZONE. > >> I found the kcompactd never wakeup. It seems the zoneindex > >> has already minus 1 be

Re: [PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Vlastimil Babka
On 05/19/2016 02:11 PM, Vlastimil Babka wrote: > On 05/19/2016 01:58 PM, Chen Feng wrote: >> While testing the kcompactd in my platform 3G MEM only DMA ZONE. >> I found the kcompactd never wakeup. It seems the zoneindex >> has already minus 1 before. So the traverse here should be <=. > > Ouch, th

Re: [PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Vlastimil Babka
On 05/19/2016 01:58 PM, Chen Feng wrote: > While testing the kcompactd in my platform 3G MEM only DMA ZONE. > I found the kcompactd never wakeup. It seems the zoneindex > has already minus 1 before. So the traverse here should be <=. Ouch, thanks! > Signed-off-by: Chen Feng Fixes: 0f87baf4f7fb

[PATCH] mm: compact: fix zoneindex in compact

2016-05-19 Thread Chen Feng
While testing the kcompactd in my platform 3G MEM only DMA ZONE. I found the kcompactd never wakeup. It seems the zoneindex has already minus 1 before. So the traverse here should be <=. Signed-off-by: Chen Feng --- mm/compaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi