* [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, vbabka, mhocko, willy, rppt, arunks, nborisov,
dan.j.williams, aryabinin, ldr709
Cc: linux-mm, linux-kernel, van.freenix, 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
* Re: [PATCH] mm: __pagevec_lru_add_fn: typo fix
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
1 sibling, 0 replies; 3+ messages in thread
From: Vlastimil Babka @ 2019-04-03 7:45 UTC (permalink / raw)
To: Peng Fan, akpm, mhocko, willy, rppt, arunks, nborisov,
dan.j.williams, aryabinin, ldr709
Cc: linux-mm, linux-kernel, van.freenix
On 4/2/19 11:43 AM, Peng Fan wrote:
> There is no function named munlock_vma_pages, correct it to
> munlock_vma_page.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
> ---
> 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]
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: __pagevec_lru_add_fn: typo fix
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
1 sibling, 0 replies; 3+ messages in thread
From: Mukesh Ojha @ 2019-04-04 7:30 UTC (permalink / raw)
To: Peng Fan, akpm, vbabka, mhocko, willy, rppt, arunks, nborisov,
dan.j.williams, aryabinin, ldr709
Cc: linux-mm, linux-kernel, van.freenix
On 4/2/2019 3:13 PM, Peng Fan wrote:
> There is no function named munlock_vma_pages, correct it to
> munlock_vma_page.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cheers,
-Mukesh
> ---
> 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]
^ permalink raw reply [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).