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=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 BB43DC433C1 for ; Mon, 22 Mar 2021 03:44:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5CABF60190 for ; Mon, 22 Mar 2021 03:44:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CABF60190 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 40ACD6B0036; Sun, 21 Mar 2021 23:25:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 36D256B006C; Sun, 21 Mar 2021 23:25:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1C1A56B0072; Sun, 21 Mar 2021 23:25:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0115.hostedemail.com [216.40.44.115]) by kanga.kvack.org (Postfix) with ESMTP id ECA526B0036 for ; Sun, 21 Mar 2021 23:25:30 -0400 (EDT) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 4BF74180275DA for ; Mon, 22 Mar 2021 03:44:21 +0000 (UTC) X-FDA: 77946117522.05.65AFD8C Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf11.hostedemail.com (Postfix) with ESMTP id DDC7C2000241 for ; Mon, 22 Mar 2021 03:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=teEkGkhYqZXqR+Kb7GaOCqK+oZmBR9vOVPu2Qz26xEg=; b=YJ/TWknT8Q2Bwh+xX5hKJy5/mw 1gMBkSb2zx/tK6pl4PX7QPaapmRgdl29v+XdzPy0arZK+XRla3hl2mIEFFyaIzLy1mmUcaE4heu/B u9eocXFz6Zo71S90K58yQevtjqAtF0ebjK66ue8IYVumwrmlXznvvyZrfFQLSd7airqfr860FEVXY 7pILm+EJjr6qQa6Mmu9TMZvbtn1/RyZLDvUd6sVGszpR1cROs/83vfOM216g4bAiC686TTwKBqr5x eCZB5xpA1K3S5x96zKMTP7SmEm7i4qra6Z/5bCGvIuSU5M19mEDOc5JZ4jyWORFeIRUk6/ZStrLeY ByR88p+g==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lOBU8-007wcg-SF; Mon, 22 Mar 2021 03:44:11 +0000 Date: Mon, 22 Mar 2021 03:44:08 +0000 From: Matthew Wilcox To: Ingo Molnar Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rik van Riel Subject: Re: [PATCH] mm: Fix typos in comments Message-ID: <20210322034408.GD1719932@casper.infradead.org> References: <20210322025152.GA1922846@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210322025152.GA1922846@gmail.com> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: DDC7C2000241 X-Stat-Signature: 1ygg4twoxur4w8bx3un43jhtr4wk1m9y Received-SPF: none (infradead.org>: No applicable sender policy available) receiver=imf11; identity=mailfrom; envelope-from=""; helo=casper.infradead.org; client-ip=90.155.50.34 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616384660-335333 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 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. Reviewed-by: Matthew Wilcox (Oracle)