From patchwork Sun May 9 06:26:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyeonggon Yoo <42.hyeyoo@gmail.com> X-Patchwork-Id: 12246317 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9648AC433B4 for ; Sun, 9 May 2021 06:26:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 02D76613C5 for ; Sun, 9 May 2021 06:26:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02D76613C5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 7C65A6B006E; Sun, 9 May 2021 02:26:08 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 775566B0070; Sun, 9 May 2021 02:26:08 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 615956B0071; Sun, 9 May 2021 02:26:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0114.hostedemail.com [216.40.44.114]) by kanga.kvack.org (Postfix) with ESMTP id 460D46B006E for ; Sun, 9 May 2021 02:26:08 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id ECC3D7599 for ; Sun, 9 May 2021 06:26:07 +0000 (UTC) X-FDA: 78120707574.14.3F122A8 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by imf09.hostedemail.com (Postfix) with ESMTP id 31038600010A for ; Sun, 9 May 2021 06:25:57 +0000 (UTC) Received: by mail-pj1-f48.google.com with SMTP id gc22-20020a17090b3116b02901558435aec1so8527536pjb.4 for ; Sat, 08 May 2021 23:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8rvkZQJPVhhAkzOhR/bQQFLzl3StE78csXvd0uX6Jlg=; b=aaGQ6j2CTQOdHRefAP01P2aa+wnbvbWPGEnhBx1cOzloXF0obYmt7ajr9TcTxsGUx9 jpUqt6EwOux61dIgw0yc2/PaDTluCwXKyMhujfYQ10P9oPzystMTgoVi0OoeAfHSp1PV Z+J/pyzpU/R/O6teUBr7ThPI5vZzu4+0Iy4/n+UVD5GuJs4HScl7Hb1hjHKl4lwYZJp3 fmJpz10hVkx/731EMg87Yp1kW9Q6MP/Lnejq/nc3+MNTLUiglZ7IYE1r0dq2lmT7Q423 yjhNBzxVGb6ocgHYZnEoJ0YgMYfYQwZzD/IXcF7hfKAOmsuAm9R2JsqKGEL33CvrK4Qv RZdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8rvkZQJPVhhAkzOhR/bQQFLzl3StE78csXvd0uX6Jlg=; b=dGnfk8dG6dFTv6FLy8v6z8FvkpnUXja4Ox0yuuyJz+xb7HdItejGiuxfeiiIz0mQWC KngGd3hufZWSVq5WJT/dwil9fRf0OYw2TwwffNKngwc2YD1dHbvXYN4z2xjXYtBWJizW Og6qiUtvhNHskM9R5ffImyeBAQPEo/jxgAx0v3Tac+3HImui94OS0uWed2juCakVdBhi yri8cQ4DXRvqmZaa+DO+XbA3IJSG5+fUEnYEkRfisZXSa69a3yQi6g6YmMyYMKz9GmP7 p7/mG+hFry6UlQWcOku5Kn+USuKqUvLH2Ex3Um3yve7ssP4NEwQDInIyBfXQ6kZpRep0 iBTg== X-Gm-Message-State: AOAM533m/iqfyNUA73QTd3LPIIRAPl+rnSxkAW+ZdUPbBF63yJfgBju5 FkMKiMNNdIBOeStCSimaxco= X-Google-Smtp-Source: ABdhPJyTabwy15ul0Axm8iMOkVoOZiHXj90PeRLDL2/hvMYryLCs2QJcs5Hv6o+IRjUDllC+8uA9Vw== X-Received: by 2002:a17:90a:4108:: with SMTP id u8mr20454056pjf.126.1620541566676; Sat, 08 May 2021 23:26:06 -0700 (PDT) Received: from hyeyoo.42seoul.kr ([121.135.181.35]) by smtp.gmail.com with ESMTPSA id h1sm8069571pfh.72.2021.05.08.23.26.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 23:26:06 -0700 (PDT) From: Hyeonggon Yoo <42.hyeyoo@gmail.com> To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Hyeonggon Yoo <42.hyeyoo@gmail.com> Subject: [PATCH] mm: fix typos in comments Date: Sun, 9 May 2021 15:26:00 +0900 Message-Id: <20210509062600.23860-1-42.hyeyoo@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 31038600010A Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=aaGQ6j2C; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf09.hostedemail.com: domain of 42hyeyoo@gmail.com designates 209.85.216.48 as permitted sender) smtp.mailfrom=42hyeyoo@gmail.com X-Stat-Signature: 71dcmybbrp7tyzrfza6omgxxmmbs33d5 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf09; identity=mailfrom; envelope-from="<42.hyeyoo@gmail.com>"; helo=mail-pj1-f48.google.com; client-ip=209.85.216.48 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620541557-775955 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tha -> that in mm/swap.c statments -> statements in include/linux/mm.h Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> --- include/linux/mm.h | 2 +- mm/swap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 322ec61d0da7..ea074f7a9d0c 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -155,7 +155,7 @@ extern int mmap_rnd_compat_bits __read_mostly; /* This function must be updated when the size of struct page grows above 80 * or reduces below 56. The idea that compiler optimizes out switch() * statement, and only leaves move/store instructions. Also the compiler can - * combine write statments if they are both assignments and can be reordered, + * combine write statements if they are both assignments and can be reordered, * this can result in several of the writes here being dropped. */ #define mm_zero_struct_page(pp) __mm_zero_struct_page(pp) diff --git a/mm/swap.c b/mm/swap.c index dfb48cf9c2c9..a1c9d23ef635 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -554,7 +554,7 @@ static void lru_deactivate_file_fn(struct page *page, struct lruvec *lruvec) } else { /* * The page's writeback ends up during pagevec - * We moves tha page into tail of inactive. + * We moves that page into tail of inactive. */ add_page_to_lru_list_tail(page, lruvec); __count_vm_events(PGROTATED, nr_pages);