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

mm: fix typos and grammar error in comments

We moves tha -> We move that in mm/swap.c
statments -> statements in include/linux/mm.h

Link: https://lkml.kernel.org/r/20210509063444.GA24745@hyeyoo
Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Hyeonggon Yoo and committed by
Linus Torvalds
c4ffefd1 dd794835

+2 -2
+1 -1
include/linux/mm.h
··· 155 155 /* This function must be updated when the size of struct page grows above 80 156 156 * or reduces below 56. The idea that compiler optimizes out switch() 157 157 * statement, and only leaves move/store instructions. Also the compiler can 158 - * combine write statments if they are both assignments and can be reordered, 158 + * combine write statements if they are both assignments and can be reordered, 159 159 * this can result in several of the writes here being dropped. 160 160 */ 161 161 #define mm_zero_struct_page(pp) __mm_zero_struct_page(pp)
+1 -1
mm/swap.c
··· 554 554 } else { 555 555 /* 556 556 * The page's writeback ends up during pagevec 557 - * We moves tha page into tail of inactive. 557 + * We move that page into tail of inactive. 558 558 */ 559 559 add_page_to_lru_list_tail(page, lruvec); 560 560 __count_vm_events(PGROTATED, nr_pages);