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=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 88880C433C1 for ; Mon, 22 Mar 2021 03:59:05 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0FD7E61964 for ; Mon, 22 Mar 2021 03:59:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FD7E61964 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 E0AE26B0072; Sun, 21 Mar 2021 23:40:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DBD076B0073; Sun, 21 Mar 2021 23:40:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C350F6B0074; Sun, 21 Mar 2021 23:40:13 -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 A74576B0072 for ; Sun, 21 Mar 2021 23:40:13 -0400 (EDT) Received: from smtpin35.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 15E0F18021465 for ; Mon, 22 Mar 2021 03:59:04 +0000 (UTC) X-FDA: 77946154608.35.B3CCD7C Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by imf29.hostedemail.com (Postfix) with ESMTP id 98A28132 for ; Mon, 22 Mar 2021 03:59:03 +0000 (UTC) Received: by mail-qk1-f173.google.com with SMTP id q3so9298298qkq.12 for ; Sun, 21 Mar 2021 20:59:03 -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:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=N2eyEXwKYprrVEqEb1kH0B4OY0RaQBUaEpvA9yRQ4Yk=; b=eAWVu6KSl4RSKqbWKiNEPoeWZvSxhkCjVoP378cMSlwXGcwY3su2IHoohKRiLy+ebS +Ubo78QH1GO+mEJf3cvWWvdBGT29bvlpHWR42uZhubyeVgwspeGx0QatOMZ3cJ/ohuDi kIw+1QGmKb26U7WAE4gufuRITWzCr+hv3XtmtEuvAJFoGF5jEsjF4dUxIIbhFsWpXqfE EZYZsp3ttrfMX54Ev/sbRpeFoGkOADYFL+CsTjhRA6Borv7LGZpsBsUicebpiO9VxkKy snJtYtIf6F2S3tnNsKqAzb9ZjZImTBxhZV7dWuQLWu5oXm0KlAdQpCdh4lwVhHYciwiu SRxg== 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=N2eyEXwKYprrVEqEb1kH0B4OY0RaQBUaEpvA9yRQ4Yk=; b=TTHOScujkKiuGM76vrSi05LoSQFQvLGTVUqNNPhgmmcuIfUV1oRHqTqsnz8zzOW4QX 8gN6YxC8fSzWwm5VGGazbcpUAyBx9hcwrCL4iJ2h3NijRIR4ph97wVpRBB6PKx8N0WtO waEue7dJakTK/QAyUKyTOOuF7MqF2QqZPWkIX2pCfE/gOQYLmn9b3y698u0VNnenfiea Y3c9t6dY4wVKC8xdJCG1gvwLztXpH2eXvklKOUYB3ajqGNerdjx8G+NobUpdAX7MN87H OmCxaZjO40tKjmmCwKCEkr8u2TKGs968SXPRcL0z/kvKAoLbCoNNXulbMrzVLXK/8CGg f1JA== X-Gm-Message-State: AOAM533h9WdYH61n3FSHDiE6raU/Oad4dPcMn5eHvX9aFou8J6ztyZV5 c9T3IzG0A0J3AjVbx0fGQbM= X-Google-Smtp-Source: ABdhPJx6WLNvYlfLBdnNOlu2902OI161LvTaIyBQN8u1w50JY5k9SU2TWmLCBXiLj+sRIHJCC6GfMQ== X-Received: by 2002:a37:46d5:: with SMTP id t204mr8963306qka.211.1616385542992; Sun, 21 Mar 2021 20:59:02 -0700 (PDT) Received: from ArchLinux ([156.146.54.190]) by smtp.gmail.com with ESMTPSA id r2sm8314006qti.4.2021.03.21.20.58.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Mar 2021 20:59:02 -0700 (PDT) Date: Mon, 22 Mar 2021 09:28:52 +0530 From: Bhaskar Chowdhury To: Randy Dunlap Cc: Matthew Wilcox , Ingo Molnar , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rik van Riel Subject: Re: [PATCH] mm: Fix typos in comments Message-ID: Mail-Followup-To: Bhaskar Chowdhury , Randy Dunlap , Matthew Wilcox , Ingo Molnar , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rik van Riel References: <20210322025152.GA1922846@gmail.com> <20210322034408.GD1719932@casper.infradead.org> <2cc83cd7-6fd2-2b4f-b03a-5e1a384aa137@infradead.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bpPMA1ta5HytA2u7" Content-Disposition: inline In-Reply-To: <2cc83cd7-6fd2-2b4f-b03a-5e1a384aa137@infradead.org> X-Stat-Signature: c9pm4mykjehfcy383h5t7fpmp9hgdz68 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 98A28132 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf29; identity=mailfrom; envelope-from=""; helo=mail-qk1-f173.google.com; client-ip=209.85.222.173 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616385543-620331 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: --bpPMA1ta5HytA2u7 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On 20:52 Sun 21 Mar 2021, Randy Dunlap wrote: >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): > Not sure , "levelling" and "labelling" is the same thing...I think all of us missed the context ...isn't that dictated by the context(soruce code, effecets) ... >@@ -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 > --bpPMA1ta5HytA2u7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEnwF+nWawchZUPOuwsjqdtxFLKRUFAmBYFfwACgkQsjqdtxFL KRVWRgf+Ofw0pOzddjp1LIPtWP66embFXJcc+md/xGyTRWWYMg7RFVlMGOA8/5CG tmbYrBvrNHZo/7t6bif12CIlfWBqjl7k6PFAbnhUVLzg19NcOUe4eoHaooUaCPdO s1PCnQ5tLN1sOOx9j9pc/DSvPl1fjCu7MynHxxkhlE0rV2dMMvesr8ourt08UWyh 2jQo5wjo3OapjZVZrRMmr/RmJTuM3tsLQxd9O4bZAk/HIvOujR/dslENqPmfzaGb eNXWrLuJJkbknSBL5514ueZKy5D5wAY4RlGniOLvVnQ2CqkhKs/wBQ3NKGnWX6sS CTlheGikZr5Zf7SUhAGPdA1MVlb+tg== =jV6V -----END PGP SIGNATURE----- --bpPMA1ta5HytA2u7--