diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-10-16 05:09:58 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-16 20:11:19 +0200 |
commit | 0e9aa6755757ea5e06e6130d5e50a93442456499 (patch) | |
tree | 5833de43fd9ec033507d114291b1266abe43375b /mm/swap_state.c | |
parent | mm: use self-explanatory macros rather than "2" (diff) | |
download | linux-0e9aa6755757ea5e06e6130d5e50a93442456499.tar.xz linux-0e9aa6755757ea5e06e6130d5e50a93442456499.zip |
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>
Diffstat (limited to 'mm/swap_state.c')
-rw-r--r-- | mm/swap_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c index aa40e706604c..ee465827420e 100644 --- a/mm/swap_state.c +++ b/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 |