linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Fix incomplete comment in lru_cache_add_inactive_or_unevictable()
@ 2020-09-27 12:22 Miaohe Lin
  0 siblings, 0 replies; only message in thread
From: Miaohe Lin @ 2020-09-27 12:22 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, linux-kernel, linmiaohe

Since commit 9c4e6b1a7027 ("mm, mlock, vmscan: no more skipping pagevecs"),
unevictable pages do not goes directly back onto zone's unevictable list.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 mm/swap.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/mm/swap.c b/mm/swap.c
index 7e79829a2e73..0eb057141a04 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -481,9 +481,7 @@ EXPORT_SYMBOL(lru_cache_add);
  * @vma:   vma in which page is mapped for determining reclaimability
  *
  * Place @page on the inactive or unevictable LRU list, depending on its
- * evictability.  Note that if the page is not evictable, it goes
- * directly back onto it's zone's unevictable list, it does NOT use a
- * per cpu pagevec.
+ * evictability.
  */
 void lru_cache_add_inactive_or_unevictable(struct page *page,
 					 struct vm_area_struct *vma)
-- 
2.19.1



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-27 12:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 12:22 [PATCH] mm: Fix incomplete comment in lru_cache_add_inactive_or_unevictable() Miaohe Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox