projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73fd16d
)
mm/swap: fix confusing comment in folio_mark_accessed
author
Bang Li
<libang.linuxer@gmail.com>
Tue, 22 Mar 2022 21:39:52 +0000
(14:39 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:01 +0000
(15:57 -0700)
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
patch
|
blob
|
history
diff --git
a/mm/swap.c
b/mm/swap.c
index
bcf3ac2
..
e9786c4
100644
(file)
--- a/
mm/swap.c
+++ b/
mm/swap.c
@@
-425,7
+425,7
@@
void folio_mark_accessed(struct folio *folio)
/*
* Unevictable pages are on the "LRU_UNEVICTABLE" list. But,
* this list is never rotated or maintained, so marking an
- * evictable page accessed has no effect.
+ *
un
evictable page accessed has no effect.
*/
} else if (!folio_test_active(folio)) {
/*