Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp1259740pxb; Fri, 13 Aug 2021 18:46:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwF1QOwLtbAYRhxSJTJYzUqUCrCgizuAhgA7h2p2jbGWF4KCJo5Zv2YobvRJzw1EGg1/Jx9 X-Received: by 2002:a05:6e02:805:: with SMTP id u5mr3135679ilm.223.1628905572906; Fri, 13 Aug 2021 18:46:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628905572; cv=none; d=google.com; s=arc-20160816; b=i/BOXVwS/TXCrJT1ypLvfBj3v+/x5a908Ix82Nte0xS1AlJTMoW4fHxE3vsToWA75N ghDzv8Ku4lhZe3iMstR8dC7X9dJ35ajDm9IZzJ5vDPzzStLGaUDddVuM4s+5qSLsYgtR 5tumHJfc5EBHokgB3oXiCtqstvKYtg+92NrO8nVU2YoV8Zn7T0ZnM67ixvwRZ62843RJ kfDcTNJkz4o0HvRA5rzzFagyl2awxEfJIMobbPpB6nvPDoCRsOZiOy1lu+f5Oea9FHaf w089wVzFu+v4yR+9Y65dqRBZFhmvhAuHjEEc4W1I7/fhDveg4cmJNVHiuHabYNS39SsR nslQ== 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=07FaLwcmmX6AOmFfgsqh6GrkV1dN1p5dJytNMnSho7U=; b=F+EfLbNGr78sBcaPeHoQDNalwh21wMkMhBpatQ1UCe+w08UnrEKzt5pv3scR4hM3iO sWvIZUsEg/PZdfibOUzO8FkuZ2SwywYVAyOW+zUdtIj66m8CmxrgPSD3lUPO26oo2qlN QaWRc3djhTOdj/S2OfZ0bJsOx6fgG/iQfyhidJyetm68o3KX+3HNC9ZDJWDlMS8OW7X2 OWkOCETO4qnCJ7I5gvI+t5lmuDPI/AktQcwdSiSTp0BLssS2yMJ4hwNTJ0N6Qdj04Uz4 GeJVmdcxn6opGGDB7WjOCT8BV/+/2feukicPOWKpXN2ua/wlHJcvKiWILCMPGzFNs+93 berQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YlbngJoJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e17si3384874jaj.86.2021.08.13.18.45.59; Fri, 13 Aug 2021 18:46:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YlbngJoJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236353AbhHNBpg (ORCPT + 99 others); Fri, 13 Aug 2021 21:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236284AbhHNBpg (ORCPT ); Fri, 13 Aug 2021 21:45:36 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82EC3C061756; Fri, 13 Aug 2021 18:45:08 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id fa24-20020a17090af0d8b0290178bfa69d97so18610876pjb.0; Fri, 13 Aug 2021 18:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=07FaLwcmmX6AOmFfgsqh6GrkV1dN1p5dJytNMnSho7U=; b=YlbngJoJ3f8Vv11tmVmRDAe/WJz03jxqYRsj4VIzgBv/GSyKCJ89pqGU7imCYjqdX1 rK+MQVg4YM6okfXTtPjYEH5mzwHgA3vpygUR2LKTUX1lkNAwOdsfCWtf3K0zQxPLOW7p 8Jc6TY3ib3/PEB2Cef6wlVzKPFRR3Y2rz5pfBRpLrLail0dbtMQB21AnyNxbw4Fm5DnT gDL1wTnJnArvUrXGYsbu0bQH/PFkxrx7nCQF5ps2x6zvzLlAnuFi8hCHdjostQQ943G7 LMr21rZOdKSkvc/s7SyYOQDS9+XlyUQe/Kcahzxqjv1Vq44VVnAvjabKLIeVnjv4BXqR AnkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=07FaLwcmmX6AOmFfgsqh6GrkV1dN1p5dJytNMnSho7U=; b=lCquCkrbg+X65lKh8xCgAQT5+JENgQMJ5bpvcssI4LKFKKuLowUYEj/Wtud6YTRqVm c4BHj7p4yrp81ru8ex21Gc8mfF3oRghfGnvUXBdc+sgspjAxaPAL0e+UNjrQwaHGDWl/ 7vzlsXM6ZgrL7akExwpzPwgPbpkt6O/Xh1iUHBbfrTM7wbnB+H21SeZW/H0I+AsIS0oB aZRnx5aiJ1ESlKTFbecQiu1yUjDZuTet1dd1CJ/KRnV2zGLTzLNQKJ1U5J0Dx4mksPtL gNdbjwKBdck+/6nxeKwJEyHWCfXMlyt3Mb8sMncqagGuJjN7A5QDwkuYuAAm3hK6Uh7j axBA== X-Gm-Message-State: AOAM530nkU7DcIbuLNf/l6UylDtPuwXrRFzKRrG1+xzg62DJA/DeK0w1 VeE4goqLVwNCdGcepuDnTVo= X-Received: by 2002:a63:1e4e:: with SMTP id p14mr4804871pgm.261.1628905508159; Fri, 13 Aug 2021 18:45:08 -0700 (PDT) Received: from mail.google.com ([141.164.41.4]) by smtp.gmail.com with ESMTPSA id u20sm4298718pgm.4.2021.08.13.18.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Aug 2021 18:45:07 -0700 (PDT) Date: Sat, 14 Aug 2021 09:44:55 +0800 From: Changbin Du To: Jonathan Corbet Cc: Changbin Du , Federico Vaga , Alex Shi , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Documentation: in_irq() cleanup Message-ID: <20210814014455.wffdzvtgz54y6mgn@mail.google.com> References: <20210813144713.85598-1-changbin.du@gmail.com> <87o8a1xsbn.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o8a1xsbn.fsf@meer.lwn.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 13, 2021 at 09:44:28AM -0600, Jonathan Corbet wrote: > Changbin Du writes: > > > Replace the obsolete and ambiguos macro in_irq() with new > > macro in_hardirq(). > > > > Signed-off-by: Changbin Du > > --- > > Documentation/kernel-hacking/hacking.rst | 2 +- > > Documentation/kernel-hacking/locking.rst | 4 ++-- > > Documentation/translations/it_IT/kernel-hacking/hacking.rst | 2 +- > > Documentation/translations/it_IT/kernel-hacking/locking.rst | 4 ++-- > > Documentation/translations/zh_CN/kernel-hacking/hacking.rst | 2 +- > > 5 files changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst > > index df65c19aa7df..f514cec8e16b 100644 > > --- a/Documentation/kernel-hacking/hacking.rst > > +++ b/Documentation/kernel-hacking/hacking.rst > > @@ -77,7 +77,7 @@ fast: frequently it simply acknowledges the interrupt, marks a 'software > > interrupt' for execution and exits. > > > > You can tell you are in a hardware interrupt, because > > -:c:func:`in_irq()` returns true. > > +:c:func:`in_hardirq()` returns true. > > While you're in the neighborhood, can you please get rid of the :c:func: > markup? We've not needed that for some time now; simply saying > in_hardirq() is sufficient. > No problem, will updaate it soon. > Thanks, > > jon -- Cheers, Changbin Du