From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 CBE1DC433C1 for ; Mon, 22 Mar 2021 03:53:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 45FF461967 for ; Mon, 22 Mar 2021 03:53:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45FF461967 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id ED56F6B0036; Sun, 21 Mar 2021 23:34:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E5DEA6B006C; Sun, 21 Mar 2021 23:34:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C8B1B6B0072; Sun, 21 Mar 2021 23:34:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0184.hostedemail.com [216.40.44.184]) by kanga.kvack.org (Postfix) with ESMTP id A42EF6B0036 for ; Sun, 21 Mar 2021 23:34:21 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 1124E4DC7 for ; Mon, 22 Mar 2021 03:53:12 +0000 (UTC) X-FDA: 77946139824.25.ADBDEEC Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) by imf22.hostedemail.com (Postfix) with ESMTP id 4A993C0001FA for ; Mon, 22 Mar 2021 03:53:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject: Sender:Reply-To:Content-ID:Content-Description; bh=l7NcDFRSpwugQhQwHSm3TGVE0q0YdNxXVQDS4Wcds/Y=; b=iBYu9VMhDlBNVFzZCfszQzV5kR RrCzM5D1EK2u5HauLHU0Gvy7MK6vRw5jIAVrhqnWfFfaKYa9aJcHnPRTQh4nDs8TJ9R9mGkASWL3E YyODqcc5k1KKvZ9cL1w+CV/moEsi0zC7UYv3M4CmWyeAdm7tphXJ90CqxZ+y3s8/Qw3mTBxExgd1c i/AB29peQH8x0WCQ4KVq9TToBegOUIK47H5Kf8TxJhq0Zmz+9OkGteILuo/RiBozGkR8sYlC/gQ4g gL35KZkV4+EoMsLQEVcZeRLrLAIPqCyoVTUiZUZREGEQzvpfsSvrUWVliIuVUw8cbY/qyDRpKEPCc BGiiqW1w==; Received: from [2601:1c0:6280:3f0::3ba4] by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lOBce-00ApIz-Hx; Mon, 22 Mar 2021 03:52:58 +0000 Subject: Re: [PATCH] mm: Fix typos in comments To: Matthew Wilcox , Ingo Molnar Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rik van Riel References: <20210322025152.GA1922846@gmail.com> <20210322034408.GD1719932@casper.infradead.org> From: Randy Dunlap Message-ID: <2cc83cd7-6fd2-2b4f-b03a-5e1a384aa137@infradead.org> Date: Sun, 21 Mar 2021 20:52:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210322034408.GD1719932@casper.infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 4A993C0001FA X-Stat-Signature: iobkifdwrkoy7q6qdnc5juhogysucmsg Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf22; identity=mailfrom; envelope-from=""; helo=desiato.infradead.org; client-ip=90.155.92.199 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616385191-157339 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: On 3/21/21 8:44 PM, Matthew Wilcox wrote: > On Mon, Mar 22, 2021 at 03:51:52AM +0100, Ingo Molnar wrote: >> +++ b/mm/huge_memory.c >> @@ -1794,7 +1794,7 @@ bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr, >> /* >> * Returns >> * - 0 if PMD could not be locked >> - * - 1 if PMD was locked but protections unchange and TLB flush unnecessary >> + * - 1 if PMD was locked but protections unchanged and TLB flush unnecessary >> * - HPAGE_PMD_NR is protections changed and TLB flush necessary > > s/is/if/ > >> @@ -5306,7 +5306,7 @@ void adjust_range_if_pmd_sharing_possible(struct vm_area_struct *vma, >> >> /* >> * vma need span at least one aligned PUD size and the start,end range >> - * must at least partialy within it. >> + * must at least partially within it. > > * vma needs to span at least one aligned PUD size, and the range > * must be at least partially within in. > >> /* >> * swapon tell device that all the old swap contents can be discarded, >> - * to allow the swap device to optimize its wear-levelling. >> + * to allow the swap device to optimize its wear-leveling. >> */ > > Levelling is british english, leveling is american english. we don't > usually "correct" one into the other. How about "labelled" (from mm/kasan/shadow.c): @@ -384,7 +384,7 @@ static int kasan_depopulate_vmalloc_pte(pte_t *ptep, unsigned long addr, * How does this work? * ------------------- * - * We have a region that is page aligned, labelled as A. + * We have a region that is page aligned, labeled as A. * That might not map onto the shadow in a way that is page-aligned: -- ~Randy