Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1195468rda; Mon, 23 Oct 2023 05:44:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHoNI2LzPtrzWYSEucQe2eVB6gPWqpDVCYZSYEKJpdVQEWLwXbuxk3yx7E9nV0uKZmocy3L X-Received: by 2002:a92:ce8d:0:b0:357:a1cd:a16 with SMTP id r13-20020a92ce8d000000b00357a1cd0a16mr9589258ilo.6.1698065067655; Mon, 23 Oct 2023 05:44:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698065067; cv=none; d=google.com; s=arc-20160816; b=tgS3htEtudUOtURFOnddeATvGFOzwqh5hLOBXDqGdY0A9g+AnYnxylzPpkj8Bxpxxm TdX71kK9OFLAw2UYNbXj1FcimgMcNdbTrXx9PGOYWaYoBYsR9P0PDGDB8DX4SA/Xh80N PCsCFZjnWTbCHgPOwLCa/yMlYLOKWeIZ7PdI/MvfnHAdulGXx1OqguC0pwtHd14il+T6 WO3OwQviOlLtOko/YXYtiIaHrDr6W7LDRN0q6y0FnXjFEI1K/NDVpf5PgvfYNn7omnqw M/xoXKlkNIU8ORW+IjDVdB9m/HtyENqGGvKakHpw2YXGyFwiJFf2qOYYtLGOIJTww+2T Z35g== 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=BkZRd/nHdW+WFHWWBpjALYN0SW0pUOeRbQK7UPlimYM=; fh=WDnUnbTB/NtccFmf6A5OckUwcZBTD4bTqSLgy8sAx5c=; b=pfLy3ohdUcHEjEoJLZ81g0+NKP5XVAnGZxVXUMGSVrMLoQUHe2PiQLuf46Mx5M69cC aWTvMIn1jfNcnT19g8J+4ZgQhsihmbGOWVEvCJHXp1BD9rt9OwDJnxCa/IcP/Qw8Ee6F j135w+TXQrMlFmjF7ReimDmenL9GilkW+1siAcE2zrf/vpp8uWHX7xz716BBSbRFBIM6 e0bZZSV79ZA8a9D5V+rIIrpawOkYgWEpRQHR9+yxn90JzyOo45jeHWUzL3vcJzglUILS k0wnjgSa5l8UWAx+c+iG2glXgcS0dpqTzCxll33866Ni5WvrUs9UrYXcbzwiWY1ELhx4 vmFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=L89AmZQC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id j8-20020a63ec08000000b0059b79bf220csi6185568pgh.662.2023.10.23.05.44.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 05:44:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=L89AmZQC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id D90BA80A730C; Mon, 23 Oct 2023 05:44:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbjJWMoQ (ORCPT + 99 others); Mon, 23 Oct 2023 08:44:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjJWMoP (ORCPT ); Mon, 23 Oct 2023 08:44:15 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BE1EA4 for ; Mon, 23 Oct 2023 05:44:13 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4084095722aso26641265e9.1 for ; Mon, 23 Oct 2023 05:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698065051; x=1698669851; 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=BkZRd/nHdW+WFHWWBpjALYN0SW0pUOeRbQK7UPlimYM=; b=L89AmZQCB9iLHyYABe2q4kIcxj7cE2ivu43J/gjhJdahI5pU+36fOzei6+6lL00Mlq gKFkZw6201ej9qqBvuY6vnRF7z8OxsjgbhRIlB39LF/FKlPm8FF9aaHRXHAgwWPQ7Dp7 B1ZmAYTtbpftdeZS9XPTrILrvEuoTvmByJgtiI7IYPSkmxdh+s2Hbf1wLsjIuPjHuXen uC4o27pLZCo7NLN9x8vhp8zoG2M3LvbfGBtQOKnTW8n+RpNjFK2/lVz0nBikswRPEZGv 8IHV3sTHz8A52ETxod+2WnvSHJSlUyAJI9Wb99k2delZ5rhLmnICGS4uie9SM+lhTA8q YXUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698065051; x=1698669851; 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=BkZRd/nHdW+WFHWWBpjALYN0SW0pUOeRbQK7UPlimYM=; b=klMrFg84X084RwR8zwhCV1BmiYvv3YNMhOutUGTltIrdtqsObtanCjMGt/wLwG+cii /dlwknN4upO6uQniiXuiT/BhXh8IMWIc+agDmYNPzxLruDhisJRHrSGQRVJe7YRT62qF MDrULmJ6MdIYrgj5x84gP0+9oCUiA6asH9bvUWkDhpltWMaT6wIk2DLpe8oA2YBDDu48 7ivHYHHhMIEbfXo+pgPRqBCHXHLAKIeokAvbcUwy1gaXqBjOiLG5KeO+eWxKDw5/Or2F S9uM/5GrQ3GmIqtWTtzT8V6NFf8lgJmaItPWUhQ0HS1g0e9ET5Qm3iVg291Ne5In4FBv Lskw== X-Gm-Message-State: AOJu0YyI74ikrGYfw+Cx/734O2IBoTcVQcwlzlMOtaCDKRTdZDI1utng po/ksgvyMPDmwcr67VTuZixc2v8O8/O0nq/q X-Received: by 2002:a05:600c:4fd6:b0:406:84a0:bc87 with SMTP id o22-20020a05600c4fd600b0040684a0bc87mr6918063wmq.15.1698065051179; Mon, 23 Oct 2023 05:44:11 -0700 (PDT) Received: from dreambig.dreambig.corp ([58.27.187.115]) by smtp.gmail.com with ESMTPSA id ay20-20020a05600c1e1400b00407460234f9sm9389753wmb.21.2023.10.23.05.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 05:44:10 -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:44:05 +0500 Message-Id: <20231023124405.36981-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=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 howler.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 (howler.vger.email [0.0.0.0]); Mon, 23 Oct 2023 05:44:25 -0700 (PDT) memcontrol.c: Fixed typo '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