Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1297482rda; Mon, 23 Oct 2023 08:23:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBinxLrzuU30Ts0TFoJU/E2DKrLWW3q33iSm1hW0E4kTn5mLIKGqfceVDW4UDjJJ+OxQnv X-Received: by 2002:a05:6a20:8e08:b0:17b:7505:8ab7 with SMTP id y8-20020a056a208e0800b0017b75058ab7mr13058053pzj.46.1698074613390; Mon, 23 Oct 2023 08:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698074613; cv=none; d=google.com; s=arc-20160816; b=AE3bzM17A/nKliR51pVwIBE7GA/Vntt6UEpi/5BfCJBIsyK88Agv9Z17VSj/Z+WGZB wNULKxYC7ufVXqnLQ3WxXJ9sLdz5cTijVySrBloSq16abCx1jGbn18lmt7limBJvizOI VkzWq8e0bqBsJI4efUjWIUIUiF/FApyogRbGS+eyOGuGV9q1EU3cMukIIc1JnkYg4WLx ryzopYjRyQv8CJoSzVrXMinR6gqkjSdC+95u8PCYSwr5adg99lRnW7i8M598fTyI5ZfJ TBqgZfg2UBtWA0UzQHGRP51YV4LSlll12cNyEYFDDRZoGPIAIYAyC3Qm+2V0nxgZaFR0 GKQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9lZs69Vxt1Y/639BD76HQcQPNwVZLE/2hQa7QNs6Ms0=; fh=/LpJm+SgyE+pjnGXpabiLY6EUnANRPko49sfMyaoUHY=; b=PpphPODYARUbei8fhC9zcvW2rfXpbzsu5ZlQLWW8s5QX4PmxN7rEeWMIMBaUmCXhFG 5GlEShZDQMf6YBpafIgQ8bDuE6anMi4/PXcYZopsP8Wpjz4VFNi5OB5kojIos3tFKvU6 T47SFGwCis6JVznyZMUtLCa7VJ1b+UhVTUyNBgbW5FAgUASaRnx6SPktx7g7Pg4rrKY+ KYDx7DDjCpZeFMGFf9I+6lYyCcd3ZANB0EvKMzMHfV53z+njq4efpMFNqfP44i8NHkvc edOJTmSXrea7gtlj7VMgP7kwDcPcVvErsNwTTbjn2shNq+2PuZjBkMsBqGPYn3pnEoEo uBoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=BGwnqZnY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 100-20020a17090a09ed00b002681fea6d14si9063116pjo.79.2023.10.23.08.23.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 08:23:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=BGwnqZnY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 687F4805D542; Mon, 23 Oct 2023 08:23:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjJWPXQ (ORCPT + 99 others); Mon, 23 Oct 2023 11:23:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjJWPXP (ORCPT ); Mon, 23 Oct 2023 11:23:15 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FB0193 for ; Mon, 23 Oct 2023 08:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=9lZs69Vxt1Y/639BD76HQcQPNwVZLE/2hQa7QNs6Ms0=; b=BGwnqZnYPJ3zkjDBcj5Jm32Fnm 6KRlCEYo8QFwVxV+Gso1KfR8XpWk7jqSBg2f8aoUL726FehLAcWj1NT763wj1Pv2kFxu1WGT7vC3T 75YMSX1+HXqHmubJ3SEaq6ep0iuT5U5rLzsRGPhlaKYCKOoayowlcO1kgeJiQay3KUEJRWhyAlyj+ lqZnn74xZUNyDGsavrGfZu/G7LxVBHWHAlIl7PXGlhAnNeqOwX51SLxWRD8G/zaNCX5pYzOra5l0t Wm9k1iDEGpgXjkbEebxdLORNgCrkA2ZMwz/Lqiwfml5lfBSFGp+UR4sRrYOBMuqOqCT7Hx1ijHLEU ZAv3nFUg==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1quwlo-007g3x-0I; Mon, 23 Oct 2023 15:23:08 +0000 Message-ID: Date: Mon, 23 Oct 2023 08:23:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] mm: Fixed multiple typos in multiple files Content-Language: en-US To: Muhammad Muzammil , willy@infradead.org, James.Bottomley@hansenpartnership.com Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20231023124300.36829-1-m.muzzammilashraf@gmail.com> From: Randy Dunlap In-Reply-To: <20231023124300.36829-1-m.muzzammilashraf@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 23 Oct 2023 08:23:25 -0700 (PDT) Hi, On 10/23/23 05:43, Muhammad Muzammil wrote: > memcontrol.c: Fixed type 'relies' typo > > Signed-off-by: Muhammad Muzammil > > changes since v1: > > mm: Fixed multiple typos in multiple files > > debug_vm_pgtable.c: Fixed typo > internal.h: Fixed typo > memcontrol.c: Fixed typo > mmap.c: Fixed typo The "changes since ..." should be after the "---" line (below here), but the changes since v1 are just the update of rely -> relies. The full list of changes should be in the (upper) patch description. I guess it's up to Andrew whether he wants you to send a v3 of this patch. Reviewed-by: Randy Dunlap Thanks. > --- > mm/debug_vm_pgtable.c | 4 ++-- > mm/internal.h | 2 +- > mm/memcontrol.c | 4 ++-- > mm/mmap.c | 2 +- > 4 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/mm/debug_vm_pgtable.c b/mm/debug_vm_pgtable.c > index 48e329ea5ba3..e651500e597a 100644 > --- a/mm/debug_vm_pgtable.c > +++ b/mm/debug_vm_pgtable.c > @@ -1322,8 +1322,8 @@ static int __init debug_vm_pgtable(void) > * true irrespective of the starting protection value for a > * given page table entry. > * > - * Protection based vm_flags combinatins are always linear > - * and increasing i.e starting from VM_NONE and going upto > + * Protection based vm_flags combinations are always linear > + * and increasing i.e starting from VM_NONE and going up to > * (VM_SHARED | READ | WRITE | EXEC). > */ > #define VM_FLAGS_START (VM_NONE) > diff --git a/mm/internal.h b/mm/internal.h > index b52a526d239d..b61034bd50f5 100644 > --- a/mm/internal.h > +++ b/mm/internal.h > @@ -601,7 +601,7 @@ extern bool mlock_future_ok(struct mm_struct *mm, unsigned long flags, > * range. > * "fully mapped" means all the pages of folio is associated with the page > * table of range while this function just check whether the folio range is > - * within the range [start, end). Funcation caller nees to do page table > + * within the range [start, end). Function caller needs to do page table > * check if it cares about the page table association. > * > * Typical usage (like mlock or madvise) is: > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index be2ad117515e..929b4e0f4669 100644 > --- a/mm/memcontrol.c > +++ b/mm/memcontrol.c > @@ -842,7 +842,7 @@ void __mod_memcg_lruvec_state(struct lruvec *lruvec, enum node_stat_item idx, > memcg = pn->memcg; > > /* > - * The caller from rmap relay on disabled preemption becase they never > + * The caller from rmap relies on disabled preemption because they never > * update their counter from in-interrupt context. For these two > * counters we check that the update is never performed from an > * interrupt context while other caller need to have disabled interrupt. > @@ -8104,7 +8104,7 @@ static struct cftype memsw_files[] = { > * > * This doesn't check for specific headroom, and it is not atomic > * either. But with zswap, the size of the allocation is only known > - * once compression has occured, and this optimistic pre-check avoids > + * once compression has occurred, and this optimistic pre-check avoids > * spending cycles on compression when there is already no room left > * or zswap is disabled altogether somewhere in the hierarchy. > */ > diff --git a/mm/mmap.c b/mm/mmap.c > index b59f5e26b6fb..27539ffe2048 100644 > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -1223,7 +1223,7 @@ unsigned long do_mmap(struct file *file, unsigned long addr, > * Does the application expect PROT_READ to imply PROT_EXEC? > * > * (the exception is when the underlying filesystem is noexec > - * mounted, in which case we dont add PROT_EXEC.) > + * mounted, in which case we don't add PROT_EXEC.) > */ > if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) > if (!(file && path_noexec(&file->f_path))) -- ~Randy