From patchwork Wed Nov 20 10:50:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chin Yik Ming X-Patchwork-Id: 13881014 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 59CBDD63926 for ; Wed, 20 Nov 2024 10:51:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E5C026B007B; Wed, 20 Nov 2024 05:50:59 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E0C1F6B0083; Wed, 20 Nov 2024 05:50:59 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CD4606B0089; Wed, 20 Nov 2024 05:50:59 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id A56406B007B for ; Wed, 20 Nov 2024 05:50:59 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 3DE3080A4A for ; Wed, 20 Nov 2024 10:50:59 +0000 (UTC) X-FDA: 82806154788.16.F817F2A Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by imf08.hostedemail.com (Postfix) with ESMTP id 40A84160018 for ; Wed, 20 Nov 2024 10:50:23 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iDwV6qtH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf08.hostedemail.com: domain of yikming2222@gmail.com designates 209.85.216.53 as permitted sender) smtp.mailfrom=yikming2222@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1732099722; a=rsa-sha256; cv=none; b=nY/aWQKff6BcCHnkTXwthD4breTvawLHzhuQh31uedUL+/+b2XfOnwiYRGH5SkwbRFVz9f 2GVViH/8eEQYa0CTMBToVmB5HLp3HTnaoeISsint9ojGUlQIplDxthZzcpnI9LCjAkBRus hlWurIydooyphQlY/u3RFlWUMp5MtIY= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iDwV6qtH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf08.hostedemail.com: domain of yikming2222@gmail.com designates 209.85.216.53 as permitted sender) smtp.mailfrom=yikming2222@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1732099722; 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=Eylt6yQGAoNtadDrsoB7tHjzTJS7rDY6+L+1xqCK+nQ=; b=McDJsK+KjrYfY0uuEbAywOky2dZFxPgqqcE5TH5nuZDK4u1qEJ1cThY4d8P+/LACn9Bx0k cepXpLxoWq2WA9MxA1ior/ip484NPvBxu3gVW2RxI6byyyAep+dtIg0kNkqHtaBKMrRjOh DXEsStuNNQyMxMBb+zLuXBg5H5SJyYc= Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-2e56750bb0dso3061762a91.0 for ; Wed, 20 Nov 2024 02:50:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732099856; x=1732704656; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Eylt6yQGAoNtadDrsoB7tHjzTJS7rDY6+L+1xqCK+nQ=; b=iDwV6qtH712+4P0AqvKhj24d7VOto5WEDG7Bow4kWAkWHlBV1VveIpyCOfaC7e2G2+ ryt1afRhsVkL0krGnelz6twII+Ivg4A3vgJNaKSG0bbQi5X16pZjFWlmCYyKJFvEFhWf cgRKoI2GOfGg20Rd6PoH6cHHh3L88x+nnVPi3ZmbKJPAFZvkJVuEoO8bP0kR2aGf84py hublW8VUiPF+DhZ1QAvuQt2KOh5xydH3m0xRNp2nZ9bLXhOy3RDaT9/uViokWGm5Kw5P K+ANLyIbNc/7nBO0GDm6t/nKaql8uf3G4awIbD0tKQE4fr9qGJ0/qb662DYeoiIzGwc4 cCOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732099856; x=1732704656; 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=Eylt6yQGAoNtadDrsoB7tHjzTJS7rDY6+L+1xqCK+nQ=; b=MQgWtcWeAUCzCp6M3GG4tEw12TmAUD55bQHOaupa9wSTUpU8GYBqzXohGDBlIZv4hI OIYPkVnyVnAfQwIw+IxwFVpkOOp+Xs6XZH4TokYHOcKiusUZbpGbgUxvZkobIkYfzVJl rucekDHWpYdr4nN+BwzhzgFhH9WMth4cY7hO5GvjE7vXNwoHV5IFC7LzCMigdRDyhdZO lurKiiwOCYK5HdWJwrQVGULgpsvqb4nk9RJ8wyfptI2cTc14KEmhCxSzhQNbPhoho4Cd II4Fq3T3T16CNSHAXJT9rH9gN23z2UjRdJj0c7SkVMvd/NVzR+2zv6xZdyPiI7EcSoAf J8Cw== X-Gm-Message-State: AOJu0YwGf72myBEKTM3tkNLlGCp2zS6EYKtT/IaLcnbjUzZPOPCClF8u kdgAS0t5IAd3lYSDa1ND5TBmaKJfN4F9hquwvD0D00B474i/qwes X-Google-Smtp-Source: AGHT+IFHaN1umXbYd1N0+ik9zcJpDt6zs4w496D6NJqMK5RA4ZkG/NFXYt62lo/rx5lm3JI0W+52MQ== X-Received: by 2002:a17:90b:1e42:b0:2ea:5fed:4a2e with SMTP id 98e67ed59e1d1-2eaca6d6d19mr2250806a91.6.1732099856011; Wed, 20 Nov 2024 02:50:56 -0800 (PST) Received: from newslab-Z390-AORUS-ELITE.. (pc51.csie.ntu.edu.tw. [140.112.31.242]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ead0311394sm1002860a91.9.2024.11.20.02.50.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Nov 2024 02:50:55 -0800 (PST) From: Chin Yik Ming To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Chin Yik Ming Subject: [PATCH] mm/memory: Fix a comment typo in lock_mm_and_find_vma() Date: Wed, 20 Nov 2024 18:50:41 +0800 Message-Id: <20241120105041.2394283-1-yikming2222@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: 40A84160018 X-Stat-Signature: xddrpnq1e7iqoi8kcmghsydd95dxwhqe X-Rspam-User: X-Rspamd-Server: rspam05 X-HE-Tag: 1732099823-269288 X-HE-Meta: U2FsdGVkX18lrPcsfxB96Y4AZte1AF4S48OtdGy4/zCSqnquMvOS75ZJynDXY4fQ+9Wimgk0nWKD+jVQA84F5KOsjdL6pRGxVafTX+i4xoV3kQsNXO1GxwQg1UHrkY0cM50YlJjet03z3qllDsOEjh5F4oOCry48FH0bvgwl54EEu2ydSgCz/8H2HRsvV1+jSH/AuHztr7Gn8rTrjUunntR3p4hSxdj2IHU/AU+T/OdGwmwi/ZIqpTTrgSDFkmh5/cX2DqjIceauaLHHFO7Z84ij3XsrPM1uLrYAq0k48CXzha99Ffgj4v6BH44MGWZxI+1TCadwLRcdWDPjJ1K/0Gy1z64dg8b2w3GHKyCyZq9FQhxQJlGJOtGftwqXMsr05HTPZySQdh43OPVc15ocn9bcxSDZDJ2lRAeiJorXSN/ss0+38+vwoQuqOd9zydUATawIqnBxdG89N/VJVqJ1FcQngNRt/wm2JYC0ln3GyziasGyf8tWesgNVgilRTjmTM0EAK31LOV0uT++hMNlcCFguqtPpZ/kvuT5K4IH82ot641OefK69o10VT62rd6kYThd6vhUSSZgsWThNJggxoReeO1DpGBxbv/8JNGuIRU1HccFm1aX1vpVfSuvnDuzftgriSsqdeCGIp/qaz/BwlbADD02i3FuAZcZDWm7T+0X4oFy3RnOr4sWk8hxU8gb7zUgoJdLK+2Lu4lK+9Bv//Zzom1tZFeTzBZtcCu+ZIN68qWg2wiPMW7MpQ+cxQxtyiwdwAKFQsFLkuOcBsj3/iDZWbR7We/VL6ZEwZmYHU4BXd1v4XF03NhRZfieRWl4i1goG8uklztGL4nuqi3KQMpwKdrZorcn6ik8jRANrR4fJLXbjSHZJxJmgZfplFtpfV92OyYsVHpenFDmdPGjAhcnp3jg7xq9J+I4Yv7mYEOIAR+l8kgkFzGOw1f4NZovIOqynKiJqW3rUsctWG+s s4oCRN9p Tqo3ugb2eK3ysRWd1dDMGnr7Z7uHKxMSjsZAVSo+D+0MiRKxD6+KYhdEFzyGTQV3ilRS28ZqrkGIdoMHx/tcBL7c9eW0k1+q2OjCtiXgtOl7igGWPZ9FO5c/1yzNX4oG5AoiuqAFxk5T2OEJQhPSCbpVXAphK72EXJia4ZSv9xikbR3qUnzXEWk6PLrlgu/8tDLQNMi46ajcSHsSBNodGIs2sBOV8JvEAcwZHCdTOnQ/W8+aIv2rd4+GBoh6qTYl+PNI/Mwma1WvP90xid4ITGHnEfgM81a/7czm/kn3/KXv0Ztkp3KHeFCmn2y+bHOFW1Opv1y5pVkLdeBv7YZYUPyyWD4cblwe3vD3GqW+ZCXaX1feW0vuY2cTS90zBRmMFJeXulknWjM3jT+OAoruXj78e7+aY33pyQ8F/+ZeMcVAfCZ8= X-Bogosity: Ham, tests=bogofilter, spamicity=0.002233, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: s/equivalend/equivalent Signed-off-by: Chin Yik Ming --- mm/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index bdf77a3ec47b..9be3183ca8ee 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -6150,7 +6150,7 @@ static inline bool upgrade_mmap_lock_carefully(struct mm_struct *mm, struct pt_r /* * Helper for page fault handling. * - * This is kind of equivalend to "mmap_read_lock()" followed + * This is kind of equivalent to "mmap_read_lock()" followed * by "find_extend_vma()", except it's a lot more careful about * the locking (and will drop the lock on failure). *