Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4680191pxb; Sat, 12 Feb 2022 14:17:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDL/ALODr+qkZkM7GXgecS/JqQPEWK2lr7Ti/CjEv4Hdp52SY4RO0i73DjUO7giluweBKE X-Received: by 2002:a62:e409:: with SMTP id r9mr7642725pfh.44.1644704254551; Sat, 12 Feb 2022 14:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644704254; cv=none; d=google.com; s=arc-20160816; b=xXzy+wktsSCDgdnusMNoIHSUj/Uu4BHl6B20PR12AAJMD4CsiX3CDaHtnNq/sIqDLU eJlA1eL+eOwJKglIM3fN8wkwsGUEdt9ziUQrEs3TMXFhn3aahy5vSrCKCjfpjW6h+an0 val+nQjYoBwBy8jo/eI5Ot+MhVVfNLCclM439eXWC1v4yQe5JAnU5+TtFqrjEhHonYgy uWUvNqwg5+T1Tbr7rU3K3DS0Dnwx7hVMbS8AW/i/4PhnfurjNQ5mihqT+XJ+lUbIJxgE U+Vbgty8V6wZ//+WeofOS587dnm2R62k3KcrtLqJ4ujWeYbVRUK1R4wXPs9qQk8cfcmP jl/Q== 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; bh=AtvVRI8tLtbgXLNIuncBZ+S8qfvza6FbksuotqhlRJc=; b=QguX6/PP6Mnp7ZBOBcQFhkHPE35zTuZ6FoRcGCZVHNZm/WGhT+DpsacqJdLO+UYnkh FBRWD4D10UghZO9l8z505TOnqt23vDtxEfxEd4C9XQ/w4y/z8nWUi4e7bKrSjwJPLu/Z 79mwVGNlp65DewwcxjT7hxlulcfxFOqCX5kunmpN8jZOHgWNGu0nPaNdU+fRxVVy9r8b erXP8mpYnMFet8XdOuia9vHuN2guBIWih+c0DH7PcLHi7ftpMrxRsr8NQ+hWg40uv+YD 6tj/14gvQQwLEc9V1IRizFSXDcxh+e8NnkvIaN0Y9g7MElf3vwEm8y2GBZ565JXb4urG /deA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu15si8594052pjb.152.2022.02.12.14.17.05; Sat, 12 Feb 2022 14:17:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237555AbiBLQrr (ORCPT + 99 others); Sat, 12 Feb 2022 11:47:47 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:54500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237543AbiBLQrn (ORCPT ); Sat, 12 Feb 2022 11:47:43 -0500 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 340A05FEA for ; Sat, 12 Feb 2022 08:47:38 -0800 (PST) Received: from cwcc.thunk.org (pool-108-7-220-252.bstnma.fios.verizon.net [108.7.220.252]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 21CGkxsP010096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 12 Feb 2022 11:47:00 -0500 Received: by cwcc.thunk.org (Postfix, from userid 15806) id 1847215C0040; Sat, 12 Feb 2022 11:46:59 -0500 (EST) Date: Sat, 12 Feb 2022 11:46:59 -0500 From: "Theodore Ts'o" To: Qing Wang Cc: Konrad Rzeszutek Wilk , Roger Pau =?iso-8859-1?Q?Monn=E9?= , Jens Axboe , Michael Turquette , Stephen Boyd , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , Srinivas Pandruvada , Jiri Kosina , Benjamin Tissoires , Dmitry Torokhov , Alasdair Kergon , Mike Snitzer , dm-devel@redhat.com, Mauro Carvalho Chehab , Hans Verkuil , xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-input@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH V2 00/13] use time_is_xxx() instead of jiffies judgment Message-ID: References: <1644546640-23283-1-git-send-email-wangqing@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1644546640-23283-1-git-send-email-wangqing@vivo.com> X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 10, 2022 at 06:30:23PM -0800, Qing Wang wrote: > From: Wang Qing > > It is better to use time_is_xxx() directly instead of jiffies judgment > for understanding. Hi Wang, "judgement" doesn't really make sense as a description to an English speaker. The following a commit desription (for all of these series) is probably going to be a bit more understable: Use the helper function time_is_{before,after}_jiffies() to improve code readability. Cheers, - Ted