From patchwork Thu Apr 28 06:15:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Huang X-Patchwork-Id: 12830007 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0662FC433EF for ; Thu, 28 Apr 2022 06:15:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1E4526B0071; Thu, 28 Apr 2022 02:15:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 193D56B0072; Thu, 28 Apr 2022 02:15:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 05C026B0073; Thu, 28 Apr 2022 02:15:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id E7E656B0071 for ; Thu, 28 Apr 2022 02:15:36 -0400 (EDT) Received: from smtpin31.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id AF5C02929D for ; Thu, 28 Apr 2022 06:15:36 +0000 (UTC) X-FDA: 79405276272.31.BA300B2 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by imf30.hostedemail.com (Postfix) with ESMTP id 3AD418005C for ; Thu, 28 Apr 2022 06:15:28 +0000 (UTC) Received: by mail-pj1-f44.google.com with SMTP id e24so3411847pjt.2 for ; Wed, 27 Apr 2022 23:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=sxHRRuA1dj90ZmGjqoyh+iDQk7PDlu+yT64LaWiQSPI=; b=Tr3I/BYwcvyCkxg0nYstChMXo52IawFRGRPbd6hDDnr/2wH5bf7H3yF4QNB3cMfuje AZreqZMfKEIaJDk0uRQo7Zznd79G9dewcKaBcwsN3XwpRG63dnz1vEHsGb53bVgN0aN4 pdu3DJpi87lYVnKEXvKZlsOpewpDz2MZPuSM13UpY42BpVdU9RmnDE6kjKt+DA29ffJP ob82J+6V0RagQTH2Iz/K8R5tkr296O0qtGD07PZqbTkdrMyz1ZRXY7cRJNGx4xVE5R1o WKYmr310s82bk1Dj8238JbkZpoDR1CmT94jy69DMer5IycyFF0bkUwsCdo8c9Ir2UwAx J5iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sxHRRuA1dj90ZmGjqoyh+iDQk7PDlu+yT64LaWiQSPI=; b=ZhSMhFNqz6INgMyLNaTaenYS636t3vOJbOynmUKIOht/rqogt/WRhtUU/NbW2i1WQ0 8S4FhoKm6thcgfHc55hmZL8iiiZ91KmhYsX1NjTTVNuBeefOUnkEcABW93AhKPGGabmO nADCKjQepz0Xv3sQ5podxlK1U2kKUhNPxPV31DQPYnj/tAAh6Pkbz8szbNmvXsOQ1Y7L 79u7KkOIATEH6gVDrC3iK16/y6I2x6tCOF4737gzavwV87boVEw8CFkTdfPRnneIQcTM p7V4bxeoRkqvbZ+dv0aq9ObaQTJM4fBi99ExRKu1yzC/VgenOGupBbRMAEzggYWjGxLV /1Yg== X-Gm-Message-State: AOAM531+QPjExx7qs37e8I3xO2xeyUsaWgdL9fYNDXRRwt0mqJG0ogZq 1l4knqIaEGFPrbOIGDNchJM= X-Google-Smtp-Source: ABdhPJxPRvPPAKYxKu4ZTkhSK5HAgKHjoLz7lSPub1omV4E+dqsU3x4q7mLrr7E7jKRloCqwvTsFdg== X-Received: by 2002:a17:90b:1a8b:b0:1d9:9bc6:c87 with SMTP id ng11-20020a17090b1a8b00b001d99bc60c87mr17170753pjb.60.1651126534837; Wed, 27 Apr 2022 23:15:34 -0700 (PDT) Received: from AHUANG12-1LT7M0.lenovo.com (220-143-181-25.dynamic-ip.hinet.net. [220.143.181.25]) by smtp.gmail.com with ESMTPSA id d3-20020a62f803000000b0050d3480da4asm14366060pfh.129.2022.04.27.23.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 23:15:34 -0700 (PDT) From: Adrian Huang To: Andrew Morton Cc: linux-mm@kvack.org, Adrian Huang , Adrian Huang Subject: [PATCH 1/1] mm/rmap: Fix typos in comments Date: Thu, 28 Apr 2022 14:15:22 +0800 Message-Id: <20220428061522.666-1-adrianhuang0701@gmail.com> X-Mailer: git-send-email 2.17.1 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 3AD418005C X-Stat-Signature: dk6wywm7zjmh6ybcb3aqohn8pk9ou3fb X-Rspam-User: Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Tr3I/BYw"; spf=pass (imf30.hostedemail.com: domain of adrianhuang0701@gmail.com designates 209.85.216.44 as permitted sender) smtp.mailfrom=adrianhuang0701@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-HE-Tag: 1651126528-786438 X-Bogosity: Ham, tests=bogofilter, spamicity=0.002488, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Adrian Huang Fix spelling/grammar mistakes in comments. Signed-off-by: Adrian Huang --- mm/rmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/rmap.c b/mm/rmap.c index fedb82371efe..591f83fba573 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. */ @@ -2148,7 +2148,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