linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: __pagevec_lru_add_fn: typo fix
@ 2019-04-02  9:43 Peng Fan
  2019-04-03  7:45 ` Vlastimil Babka
  2019-04-04  7:30 ` Mukesh Ojha
  0 siblings, 2 replies; 3+ messages in thread
From: Peng Fan @ 2019-04-02  9:43 UTC (permalink / raw)
  To: akpm@linux-foundation.org, vbabka@suse.cz, mhocko@suse.com,
	willy@infradead.org, rppt@linux.vnet.ibm.com,
	arunks@codeaurora.org, nborisov@suse.com,
	dan.j.williams@intel.com, aryabinin@virtuozzo.com,
	ldr709@gmail.com
  Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	van.freenix@gmail.com, Peng Fan

There is no function named munlock_vma_pages, correct it to
munlock_vma_page.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 mm/swap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/swap.c b/mm/swap.c
index 301ed4e04320..3a75722e68a9 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -867,7 +867,7 @@ static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec,
 	SetPageLRU(page);
 	/*
 	 * Page becomes evictable in two ways:
-	 * 1) Within LRU lock [munlock_vma_pages() and __munlock_pagevec()].
+	 * 1) Within LRU lock [munlock_vma_page() and __munlock_pagevec()].
 	 * 2) Before acquiring LRU lock to put the page to correct LRU and then
 	 *   a) do PageLRU check with lock [check_move_unevictable_pages]
 	 *   b) do PageLRU check before lock [clear_page_mlock]
-- 
2.16.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-04  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-02  9:43 [PATCH] mm: __pagevec_lru_add_fn: typo fix Peng Fan
2019-04-03  7:45 ` Vlastimil Babka
2019-04-04  7:30 ` Mukesh Ojha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).