diff options
| author | Chen Feng <[email protected]> | 2016-05-20 16:59:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-05-20 17:58:30 -0700 |
| commit | 6cd9dc3e75078ef646076fa63adfb9b85ced0b66 (patch) | |
| tree | 67656898a38d3381f27b6c4f759f4b8015937c47 /tools/perf/scripts/python/bin | |
| parent | 0bb2fd13b69abfd88880f356903b5c7ca36d5eea (diff) | |
mm/compaction.c: fix zoneindex in kcompactd()
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 <=.
It fixes a regression where kswapd could previously compact, but
kcompactd not. Not a crash fix though.
[[email protected]: fix kcompactd_do_work() as well, per Hugh]
Link: http://lkml.kernel.org/r/[email protected]
Fixes: accf62422b3a ("mm, kswapd: replace kswapd compaction with waking up kcompactd")
Signed-off-by: Chen Feng <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Zhuangluan Su <[email protected]>
Cc: Yiping Xu <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions