Skip to content

Commit baf2f90

Browse files
Lu Jialintorvalds
authored andcommitted
mm: fix typos in comments
succed -> succeed in mm/hugetlb.c wil -> will in mm/mempolicy.c wit -> with in mm/page_alloc.c Retruns -> Returns in mm/page_vma_mapped.c confict -> conflict in mm/secretmem.c No functionality changed. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Lu Jialin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent f0953a1 commit baf2f90

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mm/mempolicy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ static long do_get_mempolicy(int *policy, nodemask_t *nmask,
994994
if (flags & MPOL_F_ADDR) {
995995
/*
996996
* Take a refcount on the mpol, lookup_node()
997-
* wil drop the mmap_lock, so after calling
997+
* will drop the mmap_lock, so after calling
998998
* lookup_node() only "pol" remains valid, "vma"
999999
* is stale.
10001000
*/

mm/page_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4173,7 +4173,7 @@ __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order,
41734173
}
41744174

41754175
/*
4176-
* Maximum number of compaction retries wit a progress before OOM
4176+
* Maximum number of compaction retries with a progress before OOM
41774177
* killer is consider as the only way to move forward.
41784178
*/
41794179
#define MAX_COMPACT_RETRIES 16

mm/page_vma_mapped.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static bool check_pte(struct page_vma_mapped_walk *pvmw)
134134
* regardless of which page table level the page is mapped at. @pvmw->pmd is
135135
* NULL.
136136
*
137-
* Retruns false if there are no more page table entries for the page in
137+
* Returns false if there are no more page table entries for the page in
138138
* the vma. @pvmw->ptl is unlocked and @pvmw->pte is unmapped.
139139
*
140140
* If you need to stop the walk before page_vma_mapped_walk() returned false,

0 commit comments

Comments
 (0)