Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2229573pxb; Fri, 25 Mar 2022 13:29:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYXVDAklmutjAbvkf5clykBYHfoH+tIdQwUb8R3xKbMmXG+Tc/bnGjfNnBZYtvu0WE3Ol8 X-Received: by 2002:a17:90b:3b91:b0:1c7:b89f:4a4f with SMTP id pc17-20020a17090b3b9100b001c7b89f4a4fmr12655806pjb.215.1648240143387; Fri, 25 Mar 2022 13:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648240143; cv=none; d=google.com; s=arc-20160816; b=IQ8ettwvuWsBsK98TwrBwXL1GbUFnuro3xR+GTVK7QICU9I/mptSp+96xhCQZmJWgJ BB1e9tlCqGx4g+kCu1nxOw7jvCbxvbayO73QsbHLpwBnb3i28uDG1UxwwTcnNTfd9TQx uyMe2iRarUU46Dox8SJ5/AtEug2BVfjCOu8fMORLSqOGEmbU8q9/lFV+GP7sYbTM1ebU QEBh4I30bnyXzBjn7bbRv+QkKF72Do3JD43YjH9/KV+yRCyv1xkVjSBL6xK5/+dWqyGi gMoCJQIEpeaiC1TAvY4ThV8EtjnOkyo8nhuCkaOGoryPmq2JBMclm78xq1gXaJBi04tY JWog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=49jpW2WxwfDWgFFg2FEAQXR26EWHs8pIegLvOIkxseo=; b=ZtaFL0jO7/Jzrg2wjHz948FLr+Rea7O+CjFySigv5Gxgdck/v43EA6jp67RWD/ulJM FYo/YQqazLRnMAaOASbJqHuFBvMxr36qpPBJoc8v+x7sf+vkl7YS9LOh2EDDcApuY+It DtI8H+du0+n2PcSGGeHqXcFMQkyFXJE+A0Mpet99uG0RE3/oXZFUHU6ziBjFt6PFQINb /qEW8yLu78Y1+CedMVYjy4MfnFkr+RflWe04zfHlgj27pvx1agL4kTuNSRqS2WTPT8ln vWIezTn4eLvUNxtb9AbJb+HhBOaMbg2p/K4XVslV+K1lioKxrnk8eY6LjL4oFKksReFs FJLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=bAxEoivq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q7-20020a170902bd8700b00153b2d164d9si3080259pls.225.2022.03.25.13.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 13:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=bAxEoivq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 284801788F3; Fri, 25 Mar 2022 12:50:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231591AbiCYTtJ (ORCPT + 99 others); Fri, 25 Mar 2022 15:49:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232713AbiCYTsq (ORCPT ); Fri, 25 Mar 2022 15:48:46 -0400 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F0C2B2050; Fri, 25 Mar 2022 12:32:13 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:35::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 158632C3; Fri, 25 Mar 2022 19:32:13 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 158632C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1648236733; bh=49jpW2WxwfDWgFFg2FEAQXR26EWHs8pIegLvOIkxseo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bAxEoivqRB+DOXFovPcLu/16Ktwh00jBNgPNhyGIbRappbFfTiVDnz18bGe2pbbvG QDQ4bYVfnLlfSXAqzTtAEKlqSgabmb/JMxNHKmANeQ7DrtV+6UHg0UkTgMUsFCuT4v zz2ydPArc9/TpTtrYbukEKfnVBzbbCYR2T09PNzn0RVS9RGs82kwVkNbuvLUES7Hq1 tpSKN8+FVzL9c24J8rNQ/Kqitxc7OncOrI+cS/Q4RrQE3ZnoHQLCHg4YPtXh2LUqhs aRX0doy8aB0ckQk86IecEt/zAX6lzpy23lNkcMV2ZEr29OlEGskrq4sLEM3oVgw0U2 lSgxTC7Y6+E4w== From: Jonathan Corbet To: "Guilherme G. Piccoli" , linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, gpiccoli@igalia.com, kernel@gpiccoli.net, Thomas Gleixner Subject: Re: [PATCH] Documentation: Fix duplicate statement about raw_spinlock_t type In-Reply-To: <20220321144133.49804-1-gpiccoli@igalia.com> References: <20220321144133.49804-1-gpiccoli@igalia.com> Date: Fri, 25 Mar 2022 13:32:12 -0600 Message-ID: <87r16peslf.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 "Guilherme G. Piccoli" writes: > Unless it was duplicate on purpose, to emphasize that a raw_spinlock_t > is always a spinning lock regardless of PREEMPT_RT or kernel config, > it's a bit odd that this text is duplicate. So, this patch just clean > it up, keeping the consistency with the other sections of the text. > > Cc: Thomas Gleixner > Fixes: 919e9e6395cf ("Documentation: Add lock ordering and nesting documentation") > Signed-off-by: Guilherme G. Piccoli > --- > Documentation/locking/locktypes.rst | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst > index bfa75ea1b66a..9933faad4771 100644 > --- a/Documentation/locking/locktypes.rst > +++ b/Documentation/locking/locktypes.rst > @@ -211,9 +211,6 @@ raw_spinlock_t and spinlock_t > raw_spinlock_t > -------------- > > -raw_spinlock_t is a strict spinning lock implementation regardless of the > -kernel configuration including PREEMPT_RT enabled kernels. > - > raw_spinlock_t is a strict spinning lock implementation in all kernels, > including PREEMPT_RT kernels. Use raw_spinlock_t only in real critical > core code, low-level interrupt handling and places where disabling I don't think that was intentional. Applied, thanks. For future reference, a far better changelog would have been something like: Remove the duplicated sentence from locktypes.rst Thanks, jon