From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2D7CC3A5A0 for ; Sun, 19 Apr 2020 15:15:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A05BC214D8 for ; Sun, 19 Apr 2020 15:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587309328; bh=DGVk2yx9ykTGpw0cwM6d0yMZFSOGvcb2VwTbquDBchg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:List-ID: From; b=H+94Orrfdy9uSSRdJw5FzZ/UV/F9EcpnmdUvVwiWv/BbGktjYDW/JoGQZUXJSIzdp TAcnCE8PyYn+t2ZcP+GXjoUhIeH6OExIrQuLhPlmuJemkM7BAkjDDm7d6pM9bq1T0V ZBSEQsZiHqQPJObP8KvDCPuX1i83LTUzDKDLuTC0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726123AbgDSPP2 (ORCPT ); Sun, 19 Apr 2020 11:15:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:60934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbgDSPP2 (ORCPT ); Sun, 19 Apr 2020 11:15:28 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 71E69212CC; Sun, 19 Apr 2020 15:15:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587309327; bh=DGVk2yx9ykTGpw0cwM6d0yMZFSOGvcb2VwTbquDBchg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=BTI5DS2kWxbQIlMFOFxgGwtISthWkdOrS9qyy01/LZtxivZcVxtN1RmLWZ/zD18Jr Pw1w+1aJ3BeWFpu+46LNyc3XDB105If9zPGIgPDKNiBkAfeyPHfo/EaW9zdaO4L2SR mSnxlxD3/974XBec7mCYoRsM/nKRj2bjdbJEiSUk= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 46F0D35226A1; Sun, 19 Apr 2020 08:15:27 -0700 (PDT) Date: Sun, 19 Apr 2020 08:15:27 -0700 From: "Paul E. McKenney" To: Ethon Paul Cc: Lai Jiangshan , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , rcu@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] srcu: Fix a typo in comment "amoritized"->"amortized" Message-ID: <20200419151527.GT17661@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200418114648.7651-1-ethp@qq.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200418114648.7651-1-ethp@qq.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: rcu-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org On Sat, Apr 18, 2020 at 07:46:47PM +0800, Ethon Paul wrote: > There is a typo in comment, fix it. > > Signed-off-by: Ethon Paul Good eyes!!! Queued, thank you! I did edit the commit log as shown below. Please let me know if I messed anything up. Thanx, Paul ------------------------------------------------------------------------ commit 496c9c0dc7b259ee93ea91789a20e09421e840c1 Author: Ethon Paul Date: Sat Apr 18 19:46:47 2020 +0800 srcu: Fix a typo in comment "amoritized"->"amortized" This commit fixes a typo in a comment. Signed-off-by: Ethon Paul Signed-off-by: Paul E. McKenney diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c index 6d3ef70..8ff71e5 100644 --- a/kernel/rcu/srcutree.c +++ b/kernel/rcu/srcutree.c @@ -766,7 +766,7 @@ static void srcu_flip(struct srcu_struct *ssp) * it, if this function was preempted for enough time for the counters * to wrap, it really doesn't matter whether or not we expedite the grace * period. The extra overhead of a needlessly expedited grace period is - * negligible when amoritized over that time period, and the extra latency + * negligible when amortized over that time period, and the extra latency * of a needlessly non-expedited grace period is similarly negligible. */ static bool srcu_might_be_idle(struct srcu_struct *ssp)