Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp478093pxf; Thu, 8 Apr 2021 07:03:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5l83Wi77+I3MgO81Cb1ZKxgTK3nfPs4h1cgr5UkeSUU4Fj+/jPnmXA7l93sPAVfulreCa X-Received: by 2002:a17:906:4147:: with SMTP id l7mr10864934ejk.17.1617890603125; Thu, 08 Apr 2021 07:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617890603; cv=none; d=google.com; s=arc-20160816; b=xpPJ7S9166M/3RjVVV6fw0oPKg6osklpCERtHAyw0jMsmiXDh8UfW8El7hJSbskeYs uK/si0VbRuVI5IEYXDKX74PkmoO1FDqzDJnrW0b9LYJvNtZKf3c/X569LZtqhQ5/yQGb NkBdUMjafpysHhcgkRL/tEufK8SE3bw8oDWft2stjU9w11U8eZYff/AWqvpX1N7U6Gos zs4VxpOR98UutEKIjD7jyv1E3wI1EAQiCPd21ghycHsAsQ56PjeOWZabkI4CA5ZOulqh YPKHbl0xSl9orKAqapTEJE5Mm3ty/1gWOYKbMcYtBNBsLSzpBu5h1jHUt8Ow/guDSzJH Et3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=sCCtJXs/5+Mwj8NtlzkmYNnFP7zV7BCFYUj3+4cwYNo=; b=PeVnfA3fgHrg4cYj3GvEWPJYSB4/bdp99kU+sEIqnpJ19Bs3ChZnKxC2XtcFMtoyiR mI/rChR34lPEM1oR40ZwNPX+NopEeX43ZB0aSOGJBXcw2zTGav/tJLd2dQvlQ3BzGWj2 e5/jOO8GQX60GCp1eTWjQDgPqm4Q7ZKH0VOEEL5IPT4nsi7L5/qsfG3SWwSt3vMS9D9X HVef2+jdHbVP1/1Ej9n/YOiXYD8jtEmfjR5FrMf0K7pO27FptlwAmCPLiKnbF0Vmx9NI N8s5OvIO6NlKIeDlKeUcsBR/WwwnfNcvJrTTHAmYY1ihKvDa9wIaIzyP52UFUshX+3Z8 uwOw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s12si13842074eju.340.2021.04.08.07.02.59; Thu, 08 Apr 2021 07:03:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231678AbhDHOA4 (ORCPT + 99 others); Thu, 8 Apr 2021 10:00:56 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:16847 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231537AbhDHOA4 (ORCPT ); Thu, 8 Apr 2021 10:00:56 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4FGNCC1GrHz9wsX; Thu, 8 Apr 2021 21:58:31 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.175) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 22:00:36 +0800 From: Lu Jialin To: Mike Kravetz , Andrew Morton CC: Lu Jialin , Xiu Jianfeng , Xiang Yang , Wang Weiyang , Cui GaoSheng , Gong Ruiqi , , Subject: [PATCH -next] mm: Fix typos in comments Date: Thu, 8 Apr 2021 22:00:27 +0800 Message-ID: <20210408140027.60623-1-lujialin4@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.175] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Lu Jialin --- mm/hugetlb.c | 2 +- mm/mempolicy.c | 2 +- mm/page_alloc.c | 2 +- mm/page_vma_mapped.c | 2 +- mm/secretmem.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index c22111f3da20..e414534e1fc4 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2304,7 +2304,7 @@ static int alloc_and_dissolve_huge_page(struct hstate *h, struct page *old_page, } else if (!HPageFreed(old_page)) { /* * Page's refcount is 0 but it has not been enqueued in the - * freelist yet. Race window is small, so we can succed here if + * freelist yet. Race window is small, so we can succeed here if * we retry. */ spin_unlock(&hugetlb_lock); diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 5690513c5668..d79fa299b70c 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -994,7 +994,7 @@ static long do_get_mempolicy(int *policy, nodemask_t *nmask, 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. */ diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 604dcd69397b..b457cc316009 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -4173,7 +4173,7 @@ __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, } /* - * 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 diff --git a/mm/page_vma_mapped.c b/mm/page_vma_mapped.c index 86e3a3688d59..2cf01d933f13 100644 --- a/mm/page_vma_mapped.c +++ b/mm/page_vma_mapped.c @@ -134,7 +134,7 @@ static bool check_pte(struct page_vma_mapped_walk *pvmw) * 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, diff --git a/mm/secretmem.c b/mm/secretmem.c index 3b1ba3991964..38e22c45e482 100644 --- a/mm/secretmem.c +++ b/mm/secretmem.c @@ -204,7 +204,7 @@ SYSCALL_DEFINE1(memfd_secret, unsigned int, flags) struct file *file; int fd, err; - /* make sure local flags do not confict with global fcntl.h */ + /* make sure local flags do not conflict with global fcntl.h */ BUILD_BUG_ON(SECRETMEM_FLAGS_MASK & O_CLOEXEC); if (!secretmem_enable) -- 2.17.1