FROMGIT: mm: migrate LRU_REFS_MASK bits in folio_migrate_flags
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. Bug: 372834394 Link: https://lore.kernel.org/all/20240926204832.9AC57C4CEC5@smtp.kernel.org/ (cherry picked from commit 51b260fc22a4a322441043c69213fa8bf9fa1179 https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/mm/ mm-unstable) Change-Id: I7b9c9f2b856339fff847802f8339e3747dd33490 Suggested-by:Yu Zhao <yuzhao@google.com> Signed-off-by:
Zhaoyang Huang <zhaoyang.huang@unisoc.com>
Loading
Please sign in to comment