From nobody Mon Feb 9 02:47:16 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33936C77B78 for ; Thu, 4 May 2023 03:17:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229602AbjEDDRy (ORCPT ); Wed, 3 May 2023 23:17:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbjEDDRk (ORCPT ); Wed, 3 May 2023 23:17:40 -0400 Received: from smtpbgau1.qq.com (smtpbgau1.qq.com [54.206.16.166]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F39BB10D9 for ; Wed, 3 May 2023 20:17:37 -0700 (PDT) X-QQ-mid: bizesmtpipv601t1683170117tlj3 Received: from localhost ( [255.98.72.1]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 04 May 2023 11:15:15 +0800 (CST) X-QQ-SSF: 0140000000000090C000000A0000000 X-QQ-FEAT: U9wPccABgDghcOsVBxQLT/HrFuzkpGxzB5B5oUBHEAipXRA8u5jCGXjIo10R8 73/tMLPooeDpWpvlrau06sqODgNFMYCSsrlEDl+SLAtGCN4RcSLee8jKGV/7ZnanDtaegdO hcvqeRKQbR59V3QeD08EXvCpkdiIMWEo0Urx93fS6KaDoSc+qHRB8QmzOgXSp6iqZFM6gXQ OCRT8vEJJIKbww1EN2EmNmjvcFmYvhkltJK/yE0ULclaDvK4LQIvwgOK9g88WMBlwIwJWND nSP5+nqpVpMs561fdT37ctK/WXCMYGXYINymPeMOcCYer4RicHS160EL9DhMrfZPEvuIVho 8rGX9AwulYo9ZzE9tvarPZym/vsMQ== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 13721817484134586107 Date: Thu, 4 May 2023 11:15:14 +0800 From: Wang Honghui To: Peter Zijlstra , Ingo Molnar , Will Deacon , Waiman Long , Boqun Feng , linux-kernel@vger.kernel.org Subject: [PATCH] task_strcut: Correct spelling mistakes in comments. Message-ID: <152717F136F81E85+ZFMjQo/4GpnuOIDs@TP-P15V> MIME-Version: 1.0 Content-Disposition: inline X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtpipv:ucas.com.cn:qybglogicsvr:qybglogicsvr6 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Correct spelling mistakes in comments. Signed-off-by: Wang Honghui --- kernel/locking/mutex.c | 4 ++-- kernel/locking/rwsem.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/locking/mutex.c b/kernel/locking/mutex.c index d973fe6041bf..fe7335fb63d4 100644 --- a/kernel/locking/mutex.c +++ b/kernel/locking/mutex.c @@ -362,7 +362,7 @@ bool mutex_spin_on_owner(struct mutex *lock, struct tas= k_struct *owner, * checking lock->owner still matches owner. And we already * disabled preemption which is equal to the RCU read-side * crital section in optimistic spinning code. Thus the - * task_strcut structure won't go away during the spinning + * task_struct structure won't go away during the spinning * period */ barrier(); @@ -401,7 +401,7 @@ static inline int mutex_can_spin_on_owner(struct mutex = *lock) =20 /* * We already disabled preemption which is equal to the RCU read-side - * crital section in optimistic spinning code. Thus the task_strcut + * crital section in optimistic spinning code. Thus the task_struct * structure won't go away during the spinning period. */ owner =3D __mutex_owner(lock); diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c index acb5a50309a1..f2085ce74c15 100644 --- a/kernel/locking/rwsem.c +++ b/kernel/locking/rwsem.c @@ -715,7 +715,7 @@ static inline bool rwsem_can_spin_on_owner(struct rw_se= maphore *sem) =20 /* * Disable preemption is equal to the RCU read-side crital section, - * thus the task_strcut structure won't go away. + * thus the task_struct structure won't go away. */ owner =3D rwsem_owner_flags(sem, &flags); /* --=20 2.34.1