Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2150368pxm; Fri, 4 Mar 2022 10:16:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0eKezr7ycdFtakpnBPS3SZ+xLsVQFYKwqt8VRpk0hplzHx8dPVD6NQVgvDgTjoqv7wZIZ X-Received: by 2002:a50:fb93:0:b0:416:c4f:bd24 with SMTP id e19-20020a50fb93000000b004160c4fbd24mr2703393edq.225.1646417818473; Fri, 04 Mar 2022 10:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646417818; cv=none; d=google.com; s=arc-20160816; b=RrPZHCtuxXbafpjmA59giEddBGuW51U/nzLDyzyCWv0yR6vMVvFSGJeUNYiXhNpYZD jM4Sj21EXsttRS4C+zUDpMS0OOBNbDC+/FKFzwz3N8aZ7Zwf9SNP0HKnAdn6DpGMzgYT n0Owv0YBfmYc440iIMVAE+4BLAgP1PxzxLDFlXK4p5KeuC1ayLEBEBsoi26mFBd4Ci4B GKJXSwWwZ0T+uIKkL4DY9zpWEtOjRXncVxNjH2EcyJ6aGpoPch+KFRAv7O1FcR/gmLsb AY8rREdNHukJD/Effp5ZO8KkKUFnNDA/5+U2C3HNz4wUMby9vccEmLXimeQPEzxsTgsR sPUA== 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=g5o2ryWaYQu9REprkJxgGT1nLR2b6vhVSdyiaZoA/A0=; b=x/66KH5UunisJMRIUOYwhEWQRxszC3aW0WR67LdSbS9zsN2u47chYOpNKfYUiTgB9M 9EbL11Re+3tyskuNB9dyeScxLwTMSqRm8ky1isvQCwjCfybFHFvgFBz+O8e2Q3VW9aDC 5BthA34EYMbD/JmXroHfaGG7Ciz1mqD0pSL1cYlSSOp0528qEu0vA72RIHUleE601wbX UaruoW2elVnY6Aar3ogGbK0mLMyFnKZsPIIrYWCwouo8Z1c1F5IWvopCJQA6UskMq7JE gs9TDyxzH5M7dCNnJz9CwBuPUArHxh0xC4aPtcaCmaAZ1Rn17+kobfgdEJHI9ySSwz40 U6yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=rYf9Cp6F; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nb23-20020a1709071c9700b006d83d8b066esi4655380ejc.327.2022.03.04.10.16.34; Fri, 04 Mar 2022 10:16:58 -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; dkim=pass header.i=@lwn.net header.s=20201203 header.b=rYf9Cp6F; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240913AbiCDROh (ORCPT + 99 others); Fri, 4 Mar 2022 12:14:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235037AbiCDROf (ORCPT ); Fri, 4 Mar 2022 12:14:35 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708671B0C42; Fri, 4 Mar 2022 09:13:47 -0800 (PST) Received: from localhost (unknown [IPv6:2601:281:8300:104d::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 B88B22B2; Fri, 4 Mar 2022 17:13:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net B88B22B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1646414026; bh=g5o2ryWaYQu9REprkJxgGT1nLR2b6vhVSdyiaZoA/A0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rYf9Cp6F+YK/HVF8dz5VoLYjhz9W+I+Xg5QSs/xHeNmxpYpGmcuhdnlVua8tRYojN 4xSKWTA7FMAW89vSbQHQkwqVAuECPkijC3Y0gNOknJCLH2ZXv61dwiMrfrZwjlSQ+N 7et8vSlF7KmqNJcJ6T1WXGRM6HbnnAdc3VW5qKJ4+JqK3ybahGif2+Y1nldHccTSox vxZGeRU1GMFDJSwRqhPncVmkXpa6wvcDneIwJTCT+49++JpxgITC51r5Fr3EncDShc qomD0Ke1cPZ+NyAcamcmlZEHSk70wj+MVsG2gs3aZU6MGtkUw6XzCfWIQ3nZPu1gIa /phqt/xj/hVaA== From: Jonathan Corbet To: Andrew Halaney Cc: peterz@infradead.org, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney , Leah Leshchinsky Subject: Re: [PATCH] Documentation/locking/locktypes: Fix PREEMPT_RT _bh() description In-Reply-To: <20220224212312.2601153-1-ahalaney@redhat.com> References: <20220224212312.2601153-1-ahalaney@redhat.com> Date: Fri, 04 Mar 2022 10:13:46 -0700 Message-ID: <875yothc8l.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, 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 Andrew Halaney writes: > With PREEMPT_RT the _bh() version of a spinlock leaves preemption > enabled, align the doc to say that instead of the opposite. > > Reported-by: Leah Leshchinsky > Signed-off-by: Andrew Halaney > --- > Documentation/locking/locktypes.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst > index 4fd7b70fcde1..bfa75ea1b66a 100644 > --- a/Documentation/locking/locktypes.rst > +++ b/Documentation/locking/locktypes.rst > @@ -247,7 +247,7 @@ based on rt_mutex which changes the semantics: > Non-PREEMPT_RT kernels disable preemption to get this effect. > > PREEMPT_RT kernels use a per-CPU lock for serialization which keeps > - preemption disabled. The lock disables softirq handlers and also > + preemption enabled. The lock disables softirq handlers and also > prevents reentrancy due to task preemption. Applied, thanks. jon