Skip to contentSkip to conversation

mm-fix-incomplete-comment-in-lru_cache_add_inactive_or_unevictable.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 14, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/swap.c: fix incomplete comment in lru_cache_add_inactive_or_unevictable()
has been removed from the -mm tree. Its filename was
mm-fix-incomplete-comment-in-lru_cache_add_inactive_or_unevictable.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm/swap.c: fix incomplete comment in lru_cache_add_inactive_or_unevictable()

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

---

 mm/swap.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
mm/swap.c renamed from mm/swap.c~mm-fix-incomplete-comment-in-lru_cache_add_inactive_or_unevictable +1 -3
@@ -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)

_

Patches currently in -mm which might be from [email protected] are

mm-vmstat-use-helper-macro-abs.patch
mm-fix-some-broken-comments.patch mm-use-helper-function-put_write_access.patch percpu_counter-use-helper-macro-abs.patch mm-migrate-avoid-possible-unnecessary-process-right-check-in-kernel_move_pages.patch