diff options
author | 2024-09-26 13:06:47 +0800 | |
---|---|---|
committer | 2024-11-05 16:56:29 -0800 | |
commit | 473c371254d2c9906c286c939eaa99d0fac13e38 (patch) | |
tree | 737db41c247be9c82c6976bf01e13cd3e7a8d8b9 /mm/truncate.c | |
parent | mm: pgtable: remove pte_offset_map_nolock() (diff) | |
download | wireguard-linux-473c371254d2c9906c286c939eaa99d0fac13e38.tar.xz wireguard-linux-473c371254d2c9906c286c939eaa99d0fac13e38.zip |
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.
Link: https://lkml.kernel.org/r/20240926050647.5653-1-zhaoyang.huang@unisoc.com
Signed-off-by: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
Suggested-by: Yu Zhao <yuzhao@google.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Yu Zhao <yuzhao@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions