The patch titled Subject: mm: fix some broken comments has been added to the -mm tree. Its filename is mm-fix-some-broken-comments.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-fix-some-broken-comments.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-fix-some-broken-comments.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Miaohe Lin <linmiaohe@xxxxxxxxxx> Subject: mm: fix some broken comments Fix some broken comments including typo, grammar error and wrong function name. Link: https://lkml.kernel.org/r/20200913095456.54873-1-linmiaohe@xxxxxxxxxx Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/filemap.c | 4 ++-- mm/swap_state.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/mm/filemap.c~mm-fix-some-broken-comments +++ a/mm/filemap.c @@ -1347,7 +1347,7 @@ static inline bool clear_bit_unlock_is_n * unlock_page - unlock a locked page * @page: the page * - * Unlocks the page and wakes up sleepers in ___wait_on_page_locked(). + * Unlocks the page and wakes up sleepers in wait_on_page_locked(). * Also wakes sleepers in wait_on_page_writeback() because the wakeup * mechanism between PageLocked pages and PageWriteback pages is shared. * But that's OK - sleepers in wait_on_page_writeback() just go back to sleep. @@ -2902,7 +2902,7 @@ filler: goto out; /* - * Page is not up to date and may be locked due one of the following + * Page is not up to date and may be locked due to one of the following * case a: Page is being filled and the page lock is held * case b: Read/write error clearing the page uptodate status * case c: Truncation in progress (page locked) --- a/mm/swap_state.c~mm-fix-some-broken-comments +++ a/mm/swap_state.c @@ -246,7 +246,7 @@ int add_to_swap(struct page *page) goto fail; /* * Normally the page will be dirtied in unmap because its pte should be - * dirty. A special case is MADV_FREE page. The page'e pte could have + * dirty. A special case is MADV_FREE page. The page's pte could have * dirty bit cleared but the page's SwapBacked bit is still set because * clearing the dirty bit and SwapBacked bit has no lock protected. For * such page, unmap will not set dirty bit for it, so page reclaim will _ Patches currently in -mm which might be from linmiaohe@xxxxxxxxxx are mm-swap-fix-confusing-comment-in-release_pages.patch mm-memcontrol-correct-the-comment-of-mem_cgroup_iter.patch mm-vmstat-use-helper-macro-abs.patch mm-fix-some-broken-comments.patch mm-migrate-avoid-possible-unnecessary-process-right-check-in-kernel_move_pages.patch