From patchwork Fri Sep 16 09:04:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chih-En Lin X-Patchwork-Id: 12978307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4FC7C54EE9 for ; Fri, 16 Sep 2022 09:02:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 215F88D0002; Fri, 16 Sep 2022 05:02:20 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C4838D0001; Fri, 16 Sep 2022 05:02:20 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 08C368D0002; Fri, 16 Sep 2022 05:02:20 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id E96BD8D0001 for ; Fri, 16 Sep 2022 05:02:19 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BFE601403F6 for ; Fri, 16 Sep 2022 09:02:19 +0000 (UTC) X-FDA: 79917357198.04.F67C7D8 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by imf01.hostedemail.com (Postfix) with ESMTP id 7DA1D400AC for ; Fri, 16 Sep 2022 09:02:19 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id 9so9526723pfz.12 for ; Fri, 16 Sep 2022 02:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=GuU2pOxqDir4XWvb8qQFObrygULAVzSWxyyQn1U+Iug=; b=oJkCn7DMmUCvHzIdm+8jLaXSWFF61rfy6KJRpVM5UX1O1tpJxXmofpE92k5q8GcE0r C3hCohKhwl4JlvEhCR24b1Bppm1tcfId3qQTxHtmQiSsfcZaKUhv10rSo5HaPrnuIxDg JR30/P7i5DWInGeWbcjeLPqMtbT/lIcBBTpS1G2I4j47tW43EikSVSJ/+P7x9pKxihmV wH+5WQaDn3TfR62GlKo5gBNkT5ZKeuCwbMWL7BVYdLFS9LeQBcZI+iV/nX3xu4xm1fNy c4nzBYWuJFf9QHKFyD8ugGWacUmfsTFhel9YS7wseDJj1mW6lxHAeR93qeoEasWz5Nwk LxqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=GuU2pOxqDir4XWvb8qQFObrygULAVzSWxyyQn1U+Iug=; b=U2RqI39s1kNZpZuvzaLdgF3MB7CH9N5FEaw/fGskJySVWcoUmDhe4C8zjiWZNomFfg bV1xpufIgc8b95xlYJ71SddLjQApjElDjPQm6CikRskkiutbyswyCekZqnIvWcNrWxic urFdsGtRVndvVtNQPky8dggzfa0OIfNq4hq8DjWlAl+mRJTHKKHRLUQiLA7Swypb0J6a oXfOZF9P9zU6INTZX2nxpnONjgl9NJcSrjxBqk5lGB+BRt7F9gTYqHDAZ64MPr1/7o5S wfEBs1Shs+IhQCrq2EGcmpB81tf6mFbHDUf8qzA+JYZg4ZROR9UcZ30Lr9Zvj8ate6n6 G1pg== X-Gm-Message-State: ACrzQf10+CzIMtJW7xuPCweEngHz2yX34otceekyeTD22R60BJMw/6Z9 8gmprX47uWwCMmwvZyJ5dPo= X-Google-Smtp-Source: AMsMyM4P3ac3kCAYhw85FybDQxp5GKDBigdAXw8LDxcVhxvRZTdA0vhejowHOjS9tYwm1sRZIeq0TQ== X-Received: by 2002:a63:441b:0:b0:439:103b:25a4 with SMTP id r27-20020a63441b000000b00439103b25a4mr3516588pga.487.1663318938314; Fri, 16 Sep 2022 02:02:18 -0700 (PDT) Received: from archlinux.localdomain ([140.121.198.213]) by smtp.googlemail.com with ESMTPSA id 17-20020a17090a035100b002001c9bf22esm1019713pjf.8.2022.09.16.02.02.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 02:02:17 -0700 (PDT) From: Chih-En Lin To: Pasha Tatashin , Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Chih-En Lin Subject: [PATCH] mm/page_table_check: Fix typos Date: Fri, 16 Sep 2022 17:04:34 +0800 Message-Id: <20220916090434.701194-1-shiyn.lin@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663318939; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=GuU2pOxqDir4XWvb8qQFObrygULAVzSWxyyQn1U+Iug=; b=uZbwIxIn10BzrrWgQpcd7E/256YEOjlMHd2+Zc0DnPzcUYJU+NOcWq4CIfbmyTD3naja0/ DDrqIpODsjbQ57M0Saupv3Pw9iF4VAXTQoX/i92LpIY39JfP2Y16d2AM0UwovV1OXzU0nB Hrl3LtMQ556CffaX1didE+zJmdnpTZc= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oJkCn7DM; spf=pass (imf01.hostedemail.com: domain of shiyn.lin@gmail.com designates 209.85.210.172 as permitted sender) smtp.mailfrom=shiyn.lin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663318939; a=rsa-sha256; cv=none; b=4QhnLyavlVbQ2vOP6ZFdMZUc1mC8LU0JmrpDOIOtbOBJvzFx3rvSL+l8k+LdChLjlcS7c2 qFfI9sFWd1Ne1Aj3AmcCR1OakMF1d+g0mEADUcu17XXG85z04Y+YhuE7/WdempTBkPiHpn XM9MK6mI/zdvfFmz5Pfct1eVd/KyGy8= X-Stat-Signature: e6yq1erq8hneszgga9r9e6mddpk5juzm X-Rspamd-Queue-Id: 7DA1D400AC X-Rspam-User: Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oJkCn7DM; spf=pass (imf01.hostedemail.com: domain of shiyn.lin@gmail.com designates 209.85.210.172 as permitted sender) smtp.mailfrom=shiyn.lin@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam06 X-HE-Tag: 1663318939-451499 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: Signed-off-by: Chih-En Lin Acked-by: Pasha Tatashin --- mm/page_table_check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page_table_check.c b/mm/page_table_check.c index e2062748791a..ecec2c7c8f44 100644 --- a/mm/page_table_check.c +++ b/mm/page_table_check.c @@ -53,7 +53,7 @@ static struct page_table_check *get_page_table_check(struct page_ext *page_ext) } /* - * An enty is removed from the page table, decrement the counters for that page + * An entry is removed from the page table, decrement the counters for that page * verify that it is of correct type and counters do not become negative. */ static void page_table_check_clear(struct mm_struct *mm, unsigned long addr, @@ -86,7 +86,7 @@ static void page_table_check_clear(struct mm_struct *mm, unsigned long addr, } /* - * A new enty is added to the page table, increment the counters for that page + * A new entry is added to the page table, increment the counters for that page * verify that it is of correct type and is not being mapped with a different * type to a different process. */