diff options
author | 2023-01-10 21:36:19 +0800 | |
---|---|---|
committer | 2023-02-02 22:32:53 -0800 | |
commit | 753ec50d976c28b08266dec3110905b377464eb1 (patch) | |
tree | 43f86c1680c7513ace27fe812ea7391942adc9e8 /mm/debug.c | |
parent | mm: compaction: remove redundant VM_BUG_ON() in compact_zone() (diff) | |
download | wireguard-linux-753ec50d976c28b08266dec3110905b377464eb1.tar.xz wireguard-linux-753ec50d976c28b08266dec3110905b377464eb1.zip |
mm: compaction: move list validation into compact_zone()
Move the cc.freepages and cc.migratepages list validation into compact_zone()
to remove some duplicate code.
Link: https://lkml.kernel.org/r/15cf54f7d762e87b04ac3cc74536f7d1ebbcd8cd.1673342761.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions