Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2269370pxp; Mon, 21 Mar 2022 15:27:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7sJ9UiB7844qurM3is1coui6UDouYagnh8u1/lh6nEexBJWSvrFJ1RWgOOBtgrUFDFsVX X-Received: by 2002:a05:6a00:ccf:b0:4fa:abfe:e0f6 with SMTP id b15-20020a056a000ccf00b004faabfee0f6mr4210423pfv.67.1647901642894; Mon, 21 Mar 2022 15:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901642; cv=none; d=google.com; s=arc-20160816; b=RuMY9guZMitEEYOUy+7AaXf07w7l+Qdgb61IvPrLU718BRO/Kd7cLW3zWmtfCLnK0h YvDErOReFG3Zh/2FHV/MwpHqsNj8Z50PFuqjg17/DnwbGOxweTA/vgtnvmmxH3jqXmei //VWEGI7Sy7AgxKWY1iI6l7PjgFyxPAhdyEoMNfCdwjsdx+d1lKwGQ9H0+65pQQfumN2 r/soC9CISSQwvOXw9k3HPOdX+jKPjCGC75Do873Iy75J0LVPM9QYpeJS1QktVprm6DkD 0ivjV5ygLDLL6zx8gK3iFRD0PbKPBvsorD1rCubpYPKVVbGQJQ+CRIq0jvg5+nDS9j7+ 5I0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zPMe5slwjVlR5NZ8SoEn7+jv/tU4wKHM4MULXO4el7E=; b=iVXONxSWkAz/Ax5R94nGUhHiJ+/EJ+OzNRMCYxuzjLGrkJUUs0Q3+W6TmobPVb5SZv NpihxDp8ZSgLHruHJjXgeapgysmB2WfiKiedySMjTXiUZR088rLFsm3qPoXqA/vHgkCS azVwANhSwp/Dz1F1Q1cd74vcaBHo7lz61CuOzcvs39Gv1YTSZp/noYV6gMASYuzOOTJK 3XVMFnMWxEbC2729DtblKxGPFUW+hpimbJFfa2a/kTnWH4D3fQOCPmhEGg+fNwcuB8oc mFokfCzlB3JceAvmB7aDs41uv4bIQF4sb1JIi3CjqMcxyYXda9dCx3cz6ccC9cHqyvDu eK/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@igalia.com header.s=20170329 header.b=lP9VSHa8; 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 m22-20020aa79016000000b004fa3a8e0013si7801516pfo.202.2022.03.21.15.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:27:22 -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=fail header.i=@igalia.com header.s=20170329 header.b=lP9VSHa8; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F093032B5A7; Mon, 21 Mar 2022 14:42:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349905AbiCUPS3 (ORCPT + 99 others); Mon, 21 Mar 2022 11:18:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235225AbiCUPS2 (ORCPT ); Mon, 21 Mar 2022 11:18:28 -0400 X-Greylist: delayed 2095 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 21 Mar 2022 08:17:02 PDT Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73C73105064; Mon, 21 Mar 2022 08:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zPMe5slwjVlR5NZ8SoEn7+jv/tU4wKHM4MULXO4el7E=; b=lP9VSHa8/RitwBvhw1IRLZWY1s ntwJSXFtmAUK5Wy+pERCG/tr7Tj7+wIMr7/QSpTYj2QHXsM0UUHKhm9NKq94LFVwWEZVPhmqiuxjE I3bembYQkjV3McKUcJ18LmCUlyC669SRGC8HssNm6AAhaOg3DqtG4q12QQTp5uQRcljDmd5sgM3/z Io4axnOpi8u5Q9R1Bb78+4EyJA7mpdsj8MzGzuOEDjwf/gX9CfUqzjaNa5kurNld/Asq8hLLUjkNe 3OeKjY1p8fIdrXOdOhRI+Zwdx3xEZz0gR9yB/4zCdE3MW0R/z+xC+w+wDBQ7CM8/WyjzjT0xMKRXp dxN5vsNA==; Received: from [187.39.124.208] (helo=localhost) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1nWJEP-0002GL-Uz; Mon, 21 Mar 2022 15:42:02 +0100 From: "Guilherme G. Piccoli" To: linux-doc@vger.kernel.org Cc: corbet@lwn.net, linux-kernel@vger.kernel.org, gpiccoli@igalia.com, kernel@gpiccoli.net, Thomas Gleixner Subject: [PATCH] Documentation: Fix duplicate statement about raw_spinlock_t type Date: Mon, 21 Mar 2022 11:41:33 -0300 Message-Id: <20220321144133.49804-1-gpiccoli@igalia.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 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 -- 2.35.1