From patchwork Mon Nov 1 04:02:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quanfa Fu X-Patchwork-Id: 12595699 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2ABDBC433F5 for ; Mon, 1 Nov 2021 04:02:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id BF12160F3A for ; Mon, 1 Nov 2021 04:02:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BF12160F3A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 38D786B0081; Mon, 1 Nov 2021 00:02:24 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 315E06B0083; Mon, 1 Nov 2021 00:02:24 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B7166B0085; Mon, 1 Nov 2021 00:02:24 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0048.hostedemail.com [216.40.44.48]) by kanga.kvack.org (Postfix) with ESMTP id 0C0C16B0081 for ; Mon, 1 Nov 2021 00:02:24 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B697318296D26 for ; Mon, 1 Nov 2021 04:02:23 +0000 (UTC) X-FDA: 78759014166.14.BB364C8 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by imf26.hostedemail.com (Postfix) with ESMTP id 2399E20019C0 for ; Mon, 1 Nov 2021 04:02:24 +0000 (UTC) Received: by mail-pg1-f174.google.com with SMTP id s136so16052090pgs.4 for ; Sun, 31 Oct 2021 21:02:23 -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:mime-version :content-transfer-encoding; bh=GtiwVFtHI+j8Vy2Q3Iq1fgzUP2WmAtec5CugDxM8ax4=; b=K339gEZeyd4SCXcLT5h29aVmD43lvtCRsdu5ts8/9Ek7IPmLEXspkNJkgmvLJOS0MU s+2sG+mzwKDEtNQOGK1eCGQugN4a1QxJ1PPl2DX9+IZ7PXha5/MM9pMUUtYtQZHFiq/4 d/wZCNOiOaTg4WoPCGanv5lLkLhmkkYLwXc4KlzbB6JFgp09oesv5tUNcKTNby5sqnMg LwiCdVbGLpnU3AaBGGtaLFYIu5ktClnJwzdyEOvC8pTnN8G4N2z1gCKh+qPdBCl4/8QQ zr2w+CZMiV3btsHlWFNIpE4mNBEZK+QvhzWQDhEPLaMFCVnPa1fw+NVTxUqmWCiw467j QoaQ== 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:mime-version :content-transfer-encoding; bh=GtiwVFtHI+j8Vy2Q3Iq1fgzUP2WmAtec5CugDxM8ax4=; b=rLDG6rjUffKlxo/S643PhTk9DUb3yxb6YrBpjJNmTsEY1Fsgc+wZb2qVr75QHlXv3M I8eptxvD4xODWGpQoTprqlL+gJrhj+rELnF/9i9TZcoAoz26uw9SB+F8iInFTBjaD1Bf SGaevKv7Vl6eItvzOviZQ+hK49X5ky3QI9v8CMLyCa8twLojdnmo3Q5DgfmkyTIJpim9 ogEHGdpHk1euff0GO/WXoTfKIX8oqLBYkwmmeL1yXCWMcaM0p/xU7HnIEMGFiGzW02Mp TNLba2k3BJDLFnEDFvOlchE9uoMjTtKrWG3TUVtov6qDd6OYRpT0Qm57luaqmh7GepGx xKlQ== X-Gm-Message-State: AOAM53200Q5py5UJgNuW313MnlRtjn4hK+Z1y2YbD6yHiZpIohIVnIyR U5lmvDP8y2RQ9I2MT3Rnreo= X-Google-Smtp-Source: ABdhPJyFtJcEqUSXpLgZI8e/+6gESa0+IBgtXzewHdbCGqxGOZZOzvMABTfsjepCKIZKZC8xT5VTNA== X-Received: by 2002:a65:62d1:: with SMTP id m17mr19914014pgv.370.1635739342494; Sun, 31 Oct 2021 21:02:22 -0700 (PDT) Received: from ubuntu.localdomain ([103.121.208.77]) by smtp.gmail.com with ESMTPSA id z71sm14358252pfc.19.2021.10.31.21.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 21:02:22 -0700 (PDT) From: Quanfa Fu To: akpm@linux-foundation.org, naoya.horiguchi@nec.com, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, vbabka@suse.cz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Quanfa Fu Subject: [PATCH] writeback: Fix some comment errors Date: Sun, 31 Oct 2021 21:02:08 -0700 Message-Id: <20211101040208.460810-1-fuqf0919@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 2399E20019C0 X-Stat-Signature: 63n8p6cxgeaye9j1gghm8kg8intefu47 Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=K339gEZe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf26.hostedemail.com: domain of fuqf0919@gmail.com designates 209.85.215.174 as permitted sender) smtp.mailfrom=fuqf0919@gmail.com X-HE-Tag: 1635739343-318370 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: Signed-off-by: Quanfa Fu --- mm/khugepaged.c | 2 +- mm/memory-failure.c | 2 +- mm/slab_common.c | 2 +- mm/swap.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/khugepaged.c b/mm/khugepaged.c index 8a8b3aa92937..f482a7861141 100644 --- a/mm/khugepaged.c +++ b/mm/khugepaged.c @@ -1306,7 +1306,7 @@ static int khugepaged_scan_pmd(struct mm_struct *mm, /* * Record which node the original page is from and save this * information to khugepaged_node_load[]. - * Khupaged will allocate hugepage from the node has the max + * Khugepaged will allocate hugepage from the node has the max * hit record. */ node = page_to_nid(page); diff --git a/mm/memory-failure.c b/mm/memory-failure.c index bdbbb32211a5..5908661e5c23 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -1227,7 +1227,7 @@ static int get_any_page(struct page *p, unsigned long flags) * * get_hwpoison_page() takes a page refcount of an error page to handle memory * error on it, after checking that the error page is in a well-defined state - * (defined as a page-type we can successfully handle the memor error on it, + * (defined as a page-type we can successfully handle the memory error on it, * such as LRU page and hugetlb page). * * Memory error handling could be triggered at any time on any type of page, diff --git a/mm/slab_common.c b/mm/slab_common.c index ec2bb0beed75..e845a8286f2c 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -832,7 +832,7 @@ void __init setup_kmalloc_cache_index_table(void) if (KMALLOC_MIN_SIZE >= 64) { /* - * The 96 byte size cache is not used if the alignment + * The 96 byte sized cache is not used if the alignment * is 64 byte. */ for (i = 64 + 8; i <= 96; i += 8) diff --git a/mm/swap.c b/mm/swap.c index af3cad4e5378..0ab1aa4a79b6 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -866,7 +866,7 @@ void lru_cache_disable(void) * all online CPUs so any calls of lru_cache_disabled wrapped by * local_lock or preemption disabled would be ordered by that. * The atomic operation doesn't need to have stronger ordering - * requirements because that is enforeced by the scheduling + * requirements because that is enforced by the scheduling * guarantees. */ __lru_add_drain_all(true);