Commit a33f7320 authored by Zhaoyang Huang's avatar Zhaoyang Huang Committed by Treehugger Robot
Browse files

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: default avatarYu Zhao <yuzhao@google.com>
Signed-off-by: default avatarZhaoyang Huang <zhaoyang.huang@unisoc.com>
parent 3326d8c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment