diff options
author | Adrian Huang <ahuang12@lenovo.com> | 2022-05-09 18:20:54 -0700 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-05-13 07:20:07 -0700 |
commit | dd0623020e0d068d5eba0c37d5ae1277800b49c4 (patch) | |
tree | 07dacc86995ade110a12a4f47d11c6e819e68176 /mm/rmap.c | |
parent | b304c6f0d39d927a87e72a8ac6c89b96ac25f355 (diff) | |
download | lwn-dd0623020e0d068d5eba0c37d5ae1277800b49c4.tar.gz lwn-dd0623020e0d068d5eba0c37d5ae1277800b49c4.zip |
mm/rmap: Fix typos in comments
Fix spelling/grammar mistakes in comments.
Link: https://lkml.kernel.org/r/20220428061522.666-1-adrianhuang0701@gmail.com
Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/rmap.c b/mm/rmap.c index f73a62c5b180..72464378e1a6 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -298,7 +298,7 @@ int anon_vma_clone(struct vm_area_struct *dst, struct vm_area_struct *src) * Reuse existing anon_vma if its degree lower than two, * that means it has no vma and only one anon_vma child. * - * Do not chose parent anon_vma, otherwise first child + * Do not choose parent anon_vma, otherwise first child * will always reuse it. Root anon_vma is never reused: * it has self-parent reference and at least one child. */ @@ -2249,7 +2249,7 @@ static bool folio_make_device_exclusive(struct folio *folio, /** * make_device_exclusive_range() - Mark a range for exclusive use by a device - * @mm: mm_struct of assoicated target process + * @mm: mm_struct of associated target process * @start: start of the region to mark for exclusive device access * @end: end address of region * @pages: returns the pages which were successfully marked for exclusive access |