diff options
author | Yu Zhao <yuzhao@google.com> | 2023-12-22 21:56:47 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-29 11:06:48 -0800 |
commit | c28ac3c7eb945fee6e20f47d576af68fdff1392a (patch) | |
tree | cc4f3f2c7355bfa6471cc2edc1c11cfc41317cf6 /arch/arm64 | |
parent | 4bdd58df05cf9df0c0e43daaa83e73d77629c252 (diff) |
mm/mglru: skip special VMAs in lru_gen_look_around()
Special VMAs like VM_PFNMAP can contain anon pages from COW. There isn't
much profit in doing lookaround on them. Besides, they can trigger the
pte_special() warning in get_pte_pfn().
Skip them in lru_gen_look_around().
Link: https://lkml.kernel.org/r/20231223045647.1566043-1-yuzhao@google.com
Fixes: 018ee47f1489 ("mm: multi-gen LRU: exploit locality in rmap")
Signed-off-by: Yu Zhao <yuzhao@google.com>
Reported-by: syzbot+03fd9b3f71641f0ebf2d@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/000000000000f9ff00060d14c256@google.com/
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions