Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm: fix some broken comments

Fix some broken comments including typo, grammar error and wrong function
name.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200913095456.54873-1-linmiaohe@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Miaohe Lin and committed by
Linus Torvalds
0e9aa675 ed017373

+3 -3
+2 -2
mm/filemap.c
··· 1445 1445 * unlock_page - unlock a locked page 1446 1446 * @page: the page 1447 1447 * 1448 - * Unlocks the page and wakes up sleepers in ___wait_on_page_locked(). 1448 + * Unlocks the page and wakes up sleepers in wait_on_page_locked(). 1449 1449 * Also wakes sleepers in wait_on_page_writeback() because the wakeup 1450 1450 * mechanism between PageLocked pages and PageWriteback pages is shared. 1451 1451 * But that's OK - sleepers in wait_on_page_writeback() just go back to sleep. ··· 3004 3004 goto out; 3005 3005 3006 3006 /* 3007 - * Page is not up to date and may be locked due one of the following 3007 + * Page is not up to date and may be locked due to one of the following 3008 3008 * case a: Page is being filled and the page lock is held 3009 3009 * case b: Read/write error clearing the page uptodate status 3010 3010 * case c: Truncation in progress (page locked)
+1 -1
mm/swap_state.c
··· 246 246 goto fail; 247 247 /* 248 248 * Normally the page will be dirtied in unmap because its pte should be 249 - * dirty. A special case is MADV_FREE page. The page'e pte could have 249 + * dirty. A special case is MADV_FREE page. The page's pte could have 250 250 * dirty bit cleared but the page's SwapBacked bit is still set because 251 251 * clearing the dirty bit and SwapBacked bit has no lock protected. For 252 252 * such page, unmap will not set dirty bit for it, so page reclaim will