From: Andrew Morton <akpm@linux-foundation.org>
To: akpm@linux-foundation.org, apopple@nvidia.com,
baolin.wang@linux.alibaba.com, linux-mm@kvack.org,
mm-commits@vger.kernel.org, shy828301@gmail.com,
torvalds@linux-foundation.org, willy@infradead.org
Subject: [patch 03/10] mm: migrate: fix the incorrect function name in comments
Date: Wed, 08 Sep 2021 15:18:03 -0700 [thread overview]
Message-ID: <20210908221803.0x8d2OSQg%akpm@linux-foundation.org> (raw)
In-Reply-To: <20210908151729.c9a15a9508ba0aed22289c76@linux-foundation.org>
From: Baolin Wang <baolin.wang@linux.alibaba.com>
Subject: mm: migrate: fix the incorrect function name in comments
since commit a98a2f0c8ce1 ("mm/rmap: split migration into its own
function"), the migration ptes establishment has been split into a
separate try_to_migrate() function, thus update the related comments.
Link: https://lkml.kernel.org/r/5b824bad6183259c916ae6cf42f81d14c6118b06.1629447552.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Reviewed-by: Alistair Popple <apopple@nvidia.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/migrate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/migrate.c~mm-migrate-fix-the-incorrect-function-name-in-comments
+++ a/mm/migrate.c
@@ -1008,7 +1008,7 @@ static int __unmap_and_move(struct page
}
/*
- * By try_to_unmap(), page->mapcount goes down to 0 here. In this case,
+ * By try_to_migrate(), page->mapcount goes down to 0 here. In this case,
* we cannot notice that anon_vma is freed while we migrates a page.
* This get_anon_vma() delays freeing anon_vma pointer until the end
* of migration. File cache pages are no problem because of page_lock()
_
next prev parent reply other threads:[~2021-09-08 22:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-08 22:17 incoming Andrew Morton
2021-09-08 22:17 ` [patch 01/10] mm/vmstat: protect per cpu variables with preempt disable on RT Andrew Morton
2021-09-08 22:18 ` [patch 02/10] mm: migrate: introduce a local variable to get the number of pages Andrew Morton
2021-09-08 22:18 ` Andrew Morton [this message]
2021-09-08 22:18 ` [patch 04/10] mm: migrate: change to use bool type for 'page_was_mapped' Andrew Morton
2021-09-08 22:18 ` [patch 05/10] kexec: move locking into do_kexec_load Andrew Morton
2021-09-08 22:18 ` [patch 06/10] kexec: avoid compat_alloc_user_space Andrew Morton
2021-09-08 22:18 ` [patch 07/10] mm: simplify compat_sys_move_pages Andrew Morton
2021-09-08 22:18 ` [patch 08/10] mm: simplify compat numa syscalls Andrew Morton
2021-09-08 22:18 ` [patch 09/10] compat: remove some compat entry points Andrew Morton
2021-09-08 22:18 ` [patch 10/10] arch: remove compat_alloc_user_space Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210908221803.0x8d2OSQg%akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=apopple@nvidia.com \
--cc=baolin.wang@linux.alibaba.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mm-commits@vger.kernel.org \
--cc=shy828301@gmail.com \
--cc=torvalds@linux-foundation.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).