From patchwork Fri May 7 01:06:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12243879 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=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 210C9C433ED for ; Fri, 7 May 2021 01:06:54 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C1D99613C8 for ; Fri, 7 May 2021 01:06:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C1D99613C8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id F29446B00FE; Thu, 6 May 2021 21:06:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EFDC26B00FF; Thu, 6 May 2021 21:06:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D9F766B0100; Thu, 6 May 2021 21:06:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0179.hostedemail.com [216.40.44.179]) by kanga.kvack.org (Postfix) with ESMTP id BA0056B00FE for ; Thu, 6 May 2021 21:06:52 -0400 (EDT) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 7CC5440EE for ; Fri, 7 May 2021 01:06:52 +0000 (UTC) X-FDA: 78112645464.23.E0FF72A Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf30.hostedemail.com (Postfix) with ESMTP id 38B6DE000100 for ; Fri, 7 May 2021 01:06:26 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 3532E61289; Fri, 7 May 2021 01:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1620349611; bh=8LTqEQ9VPdVZsrVKr75lepcWetM4IhmHY/DdaVO17NI=; h=Date:From:To:Subject:In-Reply-To:From; b=L8h5S5KtWd+/bmsiHFxsWyvjxj8mB0ISY2doofE4DzjdffK5aJEC+G0TD+rLuEvTi VRyNcMfeu9GkUvWLN4clRkE048AvL93x2yR1CLAj3oWvyG9FCRQRd6hhGXW0wooWsO fqZs/RHkcFPGyPCHWhklsKughQEHZZZSScgAwX+c= Date: Thu, 06 May 2021 18:06:50 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, lujialin4@huawei.com, mm-commits@vger.kernel.org, torvalds@linux-foundation.org Subject: [patch 91/91] mm: fix typos in comments Message-ID: <20210507010650.Iiv0osWjz%akpm@linux-foundation.org> In-Reply-To: <20210506180126.03e1baee7ca52bedb6cc6003@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=L8h5S5Kt; spf=pass (imf30.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 38B6DE000100 X-Stat-Signature: q8fybftoixje4qjsqzhgfh8xfwk3xyho Received-SPF: none (linux-foundation.org>: No applicable sender policy available) receiver=imf30; identity=mailfrom; envelope-from=""; helo=mail.kernel.org; client-ip=198.145.29.99 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1620349586-428624 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: From: Lu Jialin Subject: mm: fix typos in comments succed -> succeed in mm/hugetlb.c wil -> will in mm/mempolicy.c wit -> with in mm/page_alloc.c Retruns -> Returns in mm/page_vma_mapped.c confict -> conflict in mm/secretmem.c No functionality changed. Link: https://lkml.kernel.org/r/20210408140027.60623-1-lujialin4@huawei.com Signed-off-by: Lu Jialin Signed-off-by: Andrew Morton --- mm/mempolicy.c | 2 +- mm/page_alloc.c | 2 +- mm/page_vma_mapped.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/mm/mempolicy.c~mm-fix-typos-in-comments-2 +++ a/mm/mempolicy.c @@ -994,7 +994,7 @@ static long do_get_mempolicy(int *policy if (flags & MPOL_F_ADDR) { /* * Take a refcount on the mpol, lookup_node() - * wil drop the mmap_lock, so after calling + * will drop the mmap_lock, so after calling * lookup_node() only "pol" remains valid, "vma" * is stale. */ --- a/mm/page_alloc.c~mm-fix-typos-in-comments-2 +++ a/mm/page_alloc.c @@ -4173,7 +4173,7 @@ out: } /* - * Maximum number of compaction retries wit a progress before OOM + * Maximum number of compaction retries with a progress before OOM * killer is consider as the only way to move forward. */ #define MAX_COMPACT_RETRIES 16 --- a/mm/page_vma_mapped.c~mm-fix-typos-in-comments-2 +++ a/mm/page_vma_mapped.c @@ -134,7 +134,7 @@ static bool check_pte(struct page_vma_ma * regardless of which page table level the page is mapped at. @pvmw->pmd is * NULL. * - * Retruns false if there are no more page table entries for the page in + * Returns false if there are no more page table entries for the page in * the vma. @pvmw->ptl is unlocked and @pvmw->pte is unmapped. * * If you need to stop the walk before page_vma_mapped_walk() returned false,