Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3840157rdh; Fri, 29 Sep 2023 04:09:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFdOXQczEvSpbm7Z/aybwkW4RkV8hF4HtPJvm+cAViZw9l2uI46DAPgL3NOuAbz9ILq6PYk X-Received: by 2002:a05:6a00:190d:b0:68c:638b:e2c6 with SMTP id y13-20020a056a00190d00b0068c638be2c6mr4088959pfi.9.1695985760419; Fri, 29 Sep 2023 04:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695985760; cv=none; d=google.com; s=arc-20160816; b=uIMOFDJBqc+KU31y9fMVJ27L9vjZOpIuiM8vD1/6k8AwkUaDtB57sCUWLYZ9mRQAi0 4yV1YLLJdqdEsug9R4VybtbIrgn00sEo5hPUnjqp6WqAprdTRg0rPoPa5pJQ72oT0lYq mNd5bKrlh42QKCUWGzW4A2l8wdZxGI+ExCsy/qa5k1Oxec3aKTHw89QmeXIPlmV64Xiw d06BsCDtrvDlM6CsPwLRVEdiXIhhUxfiniLRY9Lq6JVme6n7p6IpvvQyCYQuH5rO3ZtL KNl8udW+cdle4sPv3TuViOdBo2RnLXQxlwLgRVc+P0coQmZgjxNI5pZr+ZkE1q0ARqQG KKpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=f+MRBDo08CNio0tHulqFESdQJNAr8cOaLlBI6QY+dkg=; fh=sgABV922y92Or+3Pn4/WpOjFo5cH0rdmA7FyHrHl+24=; b=kxlP/qQu/gtciizI8ZHWnbfiFzgDDXcQZAYfUi0/iyi1x7y2DmQHqSzO/tl120MYWP AqLNSqyaFs627JHp0z0TH2wRBz8IM1Uxi/gzGgeKLqyi3q+Rr3TTm7PuvzkohRlk+LMT sFeUthpE7v5xpw7vCq6IvCLlsk8EIaO79X7TgNNs7ZYKHn3fF4dFlZdgayHjP2kd0Oai QZhN9l9e+KpIchoB2jvEKgHxRRhZ3GAJkGgYWtCuPZY2Q7NHZxQqPs+Fza2kigFqmWmo O/lWWnRNa31a5Ga3HLnesQcfpxNF6t66gqTZ/KXh8x9IgFbzsvsj5QNundpkW77pVmLH H23g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="VfED/xp0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c4-20020a056a00248400b00690cff4a2b6si22421160pfv.112.2023.09.29.04.09.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 04:09:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="VfED/xp0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2C32180293DD; Fri, 29 Sep 2023 03:59:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233088AbjI2K6Z (ORCPT + 99 others); Fri, 29 Sep 2023 06:58:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233102AbjI2K6X (ORCPT ); Fri, 29 Sep 2023 06:58:23 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE2D71726; Fri, 29 Sep 2023 03:57:57 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F07BBC433C9; Fri, 29 Sep 2023 10:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695985076; bh=tBcW+9T0Szmsb/1uixa8Q/j6hm71o84nD60FwoEkhH8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VfED/xp0larnQprtl8/AJHIjIQ5WKq8CituNwRnF/ciSa1IXFip6G0sL55biLGAPX phgZ1SBF2Mvp1nVHidSZH/yXV2mXqIY4ocGPwCoaUxBIwv8Ko3PS0YgUanPE8L/N81 YPsAFDouUVolZMv5A4STCfndiNg/Mn5rxIbS/Awt5hTP/oyk1P05QYTScO+bVZccrl rFZZRI+Sxw4Cr5kd4xo2jaV5ERjDeOF3mtCxYcFUbfRDtzooXcQN1h+Z+QEaV2rV1f fUiiNeD8hYMXqQBAcpCyii+rc6Kk0tsVnQQVz2EUIi4nULPbHooaa93slA1Jgy2ja3 5cfVAKnTQwaMA== Date: Fri, 29 Sep 2023 12:57:53 +0200 From: Frederic Weisbecker To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , linux-tip-commits@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH] tick/nohz: Update comments some more Message-ID: References: <20230912104406.312185-3-frederic@kernel.org> <169582689118.27769.11953848930688373230.tip-bot2@tip-bot2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 29 Sep 2023 03:59:11 -0700 (PDT) On Thu, Sep 28, 2023 at 11:07:01AM +0200, Ingo Molnar wrote: > > + * infrastructure actually relies on the tick itself as a backend in > > + * low-resolution mode (see hrtimer_run_queues()). > > + * > > + * This low-resolution handler still makes use of some hrtimer APIs meanwhile > > + * for commodity with expiration calculation and forwarding. > > commodity? I meant 'convenience', my usual frenglish issues... > > > */ > > static void tick_nohz_lowres_handler(struct clock_event_device *dev) > > { > > As well-deserved penace for my nitpicking, I've fixed these on top of > tip:timers/core, and have also done a full scan of kernel/time/tick-sched.c > for spelling, consistency of style and readability of comments - see > the patch below. > > Thanks, > > Ingo > > ===========================> > From: Ingo Molnar > Date: Thu, 28 Sep 2023 10:45:54 +0200 > Subject: [PATCH] tick/nohz: Update comments some more > > Inspired by recent enhancements to comments in kernel/time/tick-sched.c, > go through the entire file and fix/unify its comments: > > - Fix over a dozen typos, spelling mistakes & cases of bad grammar. > > - Re-phrase sentences that I needed to read three times to understand. > > [ I used the following arbitrary rule-of-thumb: > - if I had to read a comment twice, it was usually my fault, > - if I had to read it a third time, it was the comment's fault. ] > > - Comma updates: > > - Add commas where needed > > - Remove commas where not needed > > - In cases where a comma is optional, choose one variant and try to > standardize it over similar sentences in the file. > > - Standardize on standalone 'NOHZ' spelling in free-flowing comments: > > s/nohz/NOHZ > s/no idle tick/NOHZ > > Still keep 'dynticks' as a popular synonym. > > - Standardize on referring to variable names within free-flowing > comments with the "'var'" nomenclature, and function names as > "function_name()". > > - Standardize on '64-bit' and '32-bit': > s/32bit/32-bit > s/64bit/64-bit > > - Standardize on 'IRQ work': > s/irq work/IRQ work > > - A few other tidyups I probably missed to list. > > No change in functionality intended - other than one small change to > a syslog output string. > > Signed-off-by: Ingo Molnar Looks good, thanks!