From: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
Bits of LRU_REFS_MASK are not inherited during migration which lead to
new folio start from tier0 when MGLRU enabled. Try to bring as much bits
of folio->flags as possible since compaction and alloc_contig_range
which introduce migration do happen at times.
Suggested-by: Yu Zhao <yuzhao@xxxxxxxxxx>
Signed-off-by: Zhaoyang Huang <zhaoyang.huang@xxxxxxxxxx>
---
v2: modification as Yu Zhao suggested