Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1194890rda; Mon, 23 Oct 2023 05:43:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgxhceMo/MsA/rise7fmrS82amKTVFZohLTTEFM3P4IrmuVMfpO/TIJDmsY7JbLATv4cVy X-Received: by 2002:a17:903:23c6:b0:1ca:c5e8:d846 with SMTP id o6-20020a17090323c600b001cac5e8d846mr5543932plh.10.1698065002155; Mon, 23 Oct 2023 05:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698065002; cv=none; d=google.com; s=arc-20160816; b=mSQ8wLGJwxi65AQZFsyIDjLL7b4UeRqsm8F2oOwKdpn7iUmcXl+Z2dNzexPNyQP+/u sgf2Iqd6lKeMPzXOiMgGuBj9s2cL20pZ+ORttJfTToY06JvdFriFOjuiTdoSpvIUk7sp 3IXJ4ZKQKyq/cLiRAX7j8kDogsviezsi9oRgpvUzrMcOvrqFfXoWGpuciXV+9QzZS2K3 ihRb9YSaCEP/M2gatyyMhk9pJRQ/mRdfWN5kCrNypgF+o8xTaTkJKRzEft9Dx+hsOs2e qAsbKVs02+0MEAW7nnnEzEmN8yfJv4f9ZFZ4LkqD30ARyqkKrs1+WtxhGAgqBDXl8K5G +6Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mFdh5G+nv58LZOrSzNGUC39fRLszbh4b6sgwuqs17uQ=; fh=WDnUnbTB/NtccFmf6A5OckUwcZBTD4bTqSLgy8sAx5c=; b=eduxrt6dHRUGjPaaIMyhMKRHb/LKjBUKduxwx6aMZ+tYgG/t0/udt7nJw4+YPUFYpg jI+BYHdG4wx7lcXZqfES8duvl5iEzujEO+51bf25Sf7jJnQ9iv+Nbal7BIcdx40QmBdh Rj2ntq8JkPX/jb7onMW8bN2hcrLgi+SoSDy19OR5qhQRNQMGhDy8/sZwgchTv1hXrzGn NC6yX9vv7HJtQXAWpbowHqGSaM7DD4FjOWDQT+nXeLjpXDErubko6qI4nBzRHvcJ5uKk Zj3xfPETW9rQIbmXeyPpCOTACMpgbJEWCiEt49H8lHNDMo9TC2xgBSh71gj4SuzJV4Lh QSEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Jq3+3DKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id d11-20020a170902c18b00b001c59b6ed118si6082237pld.157.2023.10.23.05.43.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 05:43:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Jq3+3DKW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id F0D75803E7A1; Mon, 23 Oct 2023 05:43:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbjJWMnT (ORCPT + 99 others); Mon, 23 Oct 2023 08:43:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbjJWMnS (ORCPT ); Mon, 23 Oct 2023 08:43:18 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DA63C4 for ; Mon, 23 Oct 2023 05:43:16 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-32d9cb5e0fcso2357343f8f.0 for ; Mon, 23 Oct 2023 05:43:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698064994; x=1698669794; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mFdh5G+nv58LZOrSzNGUC39fRLszbh4b6sgwuqs17uQ=; b=Jq3+3DKWdu8apJHp+H1//2gmdtsQ/dQ1duaBcMM5PdDAzAMbAT32NXJZedxY7C+LLl cg7kG40ONzNNo6vuualrv2I/htvAZedmGlkBJXfG1ssZmFeAZUPgN+4bTftBRkojN1GW xht91bYtbYv0USUccSUtua7NMP7dtW72zqHYySy/9/knHgHED+bWpzSScX9ZCHVJAHvx eEBi7vNECvMyBlcoiVyy/5FDkjkZ4LbtCkFFGRUY3MfYgOUWsPeF59hdBJbLnuOvQ2vR Simo4A6Ceu0k2sr8RTK0kg5JrIsvwQMXtj0NZSFKTJH6e17XIursLJm/opWL7ptOHqeG RrMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698064994; x=1698669794; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mFdh5G+nv58LZOrSzNGUC39fRLszbh4b6sgwuqs17uQ=; b=r2BGe+Pe8zIBwi9r5lMHyZgE9ZfU9jOiq7SeKS+kUjJPs7z++XPGzrEJMDWzFlC55v nyeEh+4CXDECGvd6sEqZwNuegczZnaRcaBir3BZPD6oDWOFl0HCzBR/NBKxJh0Z59ve+ bkavornjKVQjKnyi/zqtpNlzZzm7uW7qLq4usKmJBbqdvrDWctu1q9MTAr7VuzM5MxPu vZ211NMSlCjnEs6zPTAbaGNCUKZEgN8H+OQ9B/NfdxNL+FvsE0r1AIJn7zibOT8DLdUf cYXqcQkppcBZ0f8Y8gJTJavDRQG8JtVGxHAj72wtWtQ0LH53Bv4JLuoFmnp8L9pKT+47 3aIQ== X-Gm-Message-State: AOJu0YyCeN5iF6O1wmg25z3r5rNz1pGEMfIZWEswpcTy9xjL9rGxDKlX R5eNy4ZpPIpett9s3Tk2gBx21iM/IAo+QEeZ X-Received: by 2002:adf:fe48:0:b0:323:15d7:900e with SMTP id m8-20020adffe48000000b0032315d7900emr5583684wrs.53.1698064994353; Mon, 23 Oct 2023 05:43:14 -0700 (PDT) Received: from dreambig.dreambig.corp ([58.27.187.115]) by smtp.gmail.com with ESMTPSA id o12-20020adfe80c000000b0032da49e18fasm7766632wrm.23.2023.10.23.05.43.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 05:43:14 -0700 (PDT) From: Muhammad Muzammil To: willy@infradead.org, James.Bottomley@hansenpartnership.com, rdunlap@infradead.org Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Muhammad Muzammil Subject: [PATCH v2] mm: Fixed multiple typos in multiple files Date: Mon, 23 Oct 2023 17:43:00 +0500 Message-Id: <20231023124300.36829-1-m.muzzammilashraf@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 05:43:21 -0700 (PDT) memcontrol.c: Fixed type 'relies' 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 --- 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))) -- 2.27.0