]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm/swap: fix confusing comment in folio_mark_accessed
authorBang Li <libang.linuxer@gmail.com>
Tue, 22 Mar 2022 21:39:52 +0000 (14:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:01 +0000 (15:57 -0700)
commit914c32e45dbcff2c9858589e11480b8b51140528
treee4a50a5f975638d9681a9c0935c0f4c533ba3faf
parent73fd16d8080f7b1537ba7aa29917f64d6fffa664
mm/swap: fix confusing comment in folio_mark_accessed

For unevictable pages, we don't need mark them.

Link: https://lkml.kernel.org/r/20220311141519.59948-1-libang.linuxer@gmail.com
Signed-off-by: Bang Li <libang.linuxer@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swap.c