From patchwork Sun May 9 06:34:44 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: 12246319 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 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 8DA7BC433B4 for ; Sun, 9 May 2021 06:34:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 17ABA613EC for ; Sun, 9 May 2021 06:34:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 17ABA613EC 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 796AE6B006E; Sun, 9 May 2021 02:34:50 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7444D6B0070; Sun, 9 May 2021 02:34:50 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5E4D66B0071; Sun, 9 May 2021 02:34:50 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0181.hostedemail.com [216.40.44.181]) by kanga.kvack.org (Postfix) with ESMTP id 4282E6B006E for ; Sun, 9 May 2021 02:34:50 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id E03275923C1D for ; Sun, 9 May 2021 06:34:49 +0000 (UTC) X-FDA: 78120729498.14.4D90645 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by imf01.hostedemail.com (Postfix) with ESMTP id E0C595001536 for ; Sun, 9 May 2021 06:34:46 +0000 (UTC) Received: by mail-pj1-f44.google.com with SMTP id t2-20020a17090a0242b0290155433387beso6764224pje.1 for ; Sat, 08 May 2021 23:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=9cHDGycB4MlPMMHx0InSbLIU3y0mqIv2WQS7zeqfSX4=; b=dYmSfCvTNlA8GCsxF+M4TUXwBKIbKIk0SWZ1rdCnib4FWDSykcrVzIpmBHoGLesPEL TVOcbNKrVvusani65j47pD/lmfYzOHnsYJN20moDr5Hdu3eC/IP1X1R2BbPhAP2cGa1C T0/mmoUE1FXYUFM2/73t4wzIV2xP8bISfSDGtgN4WRafIBg0uYTTvkjonXDtZDC7ucxf vl0o+GEF7U3f4nln0kNLX1EJERD3o8WqO6Xg3M9Za7akY8Io6NJhUnqp25O94QNFHdhv BOASGA3QMvEN0rD3j7EsN+5mm5vDfXu5snIzOo6tpXdJ81OQ/zB98eDyKODIa1urwLcb VVPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=9cHDGycB4MlPMMHx0InSbLIU3y0mqIv2WQS7zeqfSX4=; b=LKj72X5lYj2AwscP2UjvIdcWhR2wNO9DHFWFAggiTMqBAwv2k+oaO6v5w0udAk282u jP6UU5+SVFEFKcVXVTy6OyGiTiY/kD/dgYWC3+7T/G1IhZnMnyHW8n0gc++2zoRBciqL I85oy6F1hDvbT9YtxoeLEHNjGXfoLE/WvWzeaAR9TnvfgDRzRhTfon7L4bK9V5mhqDHB jG0syhvN/k5uf6fg87famhBzunLst44avRox5/aJT5Im9wfFIv9eQ2t1PKhQD2AiV2t5 hva/vY3XVVu6aDzBZGiXDwGBgLuk6A7+t8284OBoiHhqXwWyvjLuuCBP81cEJh5eNESg +yOg== X-Gm-Message-State: AOAM533AUXWuH2bfrVoUQ2SyiiInaWCSGi4AXid/ySGafUuFm1Db9LXW mEBc6xBGMa8tmO4eBrWnj82XyzewY3Q= X-Google-Smtp-Source: ABdhPJxya7fNTk7qEC+fGvp0zvXqd/KdSUhTXQ7XDOjeCX64aw9ltJaAeUs/4n3carxqQ9WhJkhsBA== X-Received: by 2002:a17:90b:1bd2:: with SMTP id oa18mr20284880pjb.72.1620542088524; Sat, 08 May 2021 23:34:48 -0700 (PDT) Received: from hyeyoo ([121.135.181.35]) by smtp.gmail.com with ESMTPSA id 21sm4968771pfh.103.2021.05.08.23.34.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 May 2021 23:34:48 -0700 (PDT) Date: Sun, 9 May 2021 15:34:44 +0900 From: Hyeonggon Yoo <42.hyeyoo@gmail.com> To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] mm: fix typos and grammar error in comments Message-ID: <20210509063444.GA24745@hyeyoo> MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Server: rspam01 Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=dYmSfCvT; spf=pass (imf01.hostedemail.com: domain of 42hyeyoo@gmail.com designates 209.85.216.44 as permitted sender) smtp.mailfrom=42hyeyoo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Stat-Signature: n7wct9jpsao5t4stywjwq8qwbq4a1fxn X-Rspamd-Queue-Id: E0C595001536 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf01; identity=mailfrom; envelope-from="<42.hyeyoo@gmail.com>"; helo=mail-pj1-f44.google.com; client-ip=209.85.216.44 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620542086-249516 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: We moves tha -> We move 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..9ca78a283ace 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 move that page into tail of inactive. */ add_page_to_lru_list_tail(page, lruvec); __count_vm_events(PGROTATED, nr_pages);