From patchwork Sun Mar 22 02:19:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Fernandes X-Patchwork-Id: 11451533 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 32F9217E6 for ; Sun, 22 Mar 2020 02:20:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 05B5620754 for ; Sun, 22 Mar 2020 02:20:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=joelfernandes.org header.i=@joelfernandes.org header.b="wuN8YhHs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbgCVCTt (ORCPT ); Sat, 21 Mar 2020 22:19:49 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:42487 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726566AbgCVCTt (ORCPT ); Sat, 21 Mar 2020 22:19:49 -0400 Received: by mail-qt1-f195.google.com with SMTP id t9so4752949qto.9 for ; Sat, 21 Mar 2020 19:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g7SHC7AQfO9TwwpN/x0z3E15F8GnLYestCEz0TtL0YM=; b=wuN8YhHsGNS+KBnGqTssJtfUY56E0cibB4sykRbRaY8Uzc+i5+w1tUbC+QacGhjerF 2FKP+0tqFKpl5j6mvSpNhHrzHI2RBcE9nKKbqsXo8WPFNcaSf55ZHe0L5o66KwwNiwSk 6vmBzdMEzCYwgRzBV91lIxRvfLKdELWAHnRdc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g7SHC7AQfO9TwwpN/x0z3E15F8GnLYestCEz0TtL0YM=; b=Rq7//Q8X86pnaWIuN8dRk88Do4wPRZH2LyScqLxpyNUUHf7pCep1jIwKDssPsYwyi+ YcTi+3TwF0FOQOVcFaRvchaHjxFHLwkasQ21/zbhkRAAMDJolDooljsgA0D56hERfIAN sLzHKZ+J+0mqMajoGIAtGAiqkUf81Oi7Ve//BSCpO/3hfBPkWAH/FrNWGApswhYL4GyB +X+b4RuAMRue8/xxZ0MYLP4K56Mv04iVtqkeHwRuoPMUpmyrHb9X5t8/z3i7S7gdyobw m+K7QPOkXBrFrcr9jDgo+MoXvzmMkPXt7xciDyPt3dZcK4nHClWeFaqeSJoYjZl3PA7+ Vn5w== X-Gm-Message-State: ANhLgQ1TIO3iCdO/Pe8aQZuwPTiuDyFYrZ+1byM5L+71fPJzbZMUHjcJ 0OlxnM63HDtIwylQyfnvcyrmIA== X-Google-Smtp-Source: ADFU+vuZl6DL/jFqnNj4u0sNih/73JNqy/GIOCoxZp/XGx+R2DvQ+abdhYVPGYbeEZYzc7Sq2kUaBg== X-Received: by 2002:ac8:748e:: with SMTP id v14mr15603731qtq.82.1584843588059; Sat, 21 Mar 2020 19:19:48 -0700 (PDT) Received: from joelaf.cam.corp.google.com ([2620:15c:6:12:9c46:e0da:efbf:69cc]) by smtp.gmail.com with ESMTPSA id h138sm8150819qke.86.2020.03.21.19.19.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Mar 2020 19:19:47 -0700 (PDT) From: "Joel Fernandes (Google)" To: linux-kernel@vger.kernel.org Cc: "Joel Fernandes (Google)" , Ingo Molnar , Jonathan Corbet , linux-doc@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Will Deacon , Linus Torvalds , Ingo Molnar , "Paul E . McKenney" , Steven Rostedt , Randy Dunlap , Sebastian Andrzej Siewior , Logan Gunthorpe , Kurt Schwemmer , Bjorn Helgaas , "linux-pci@vger.kernel.org Felipe Balbi" , Greg Kroah-Hartman , "linux-usb@vger.kernel.org Kalle Valo" , "David S. Miller" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Oleg Nesterov , Davidlohr Bueso , Michael Ellerman , Arnd Bergmann , linuxppc-dev@lists.ozlabs.org Subject: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue Date: Sat, 21 Mar 2020 22:19:38 -0400 Message-Id: <20200322021938.175736-1-joel@joelfernandes.org> X-Mailer: git-send-email 2.25.1.696.g5e7596f4ac-goog MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Reword and clarify better about the rwsem non-owner release issue. Link: https://lore.kernel.org/linux-pci/20200321212144.GA6475@google.com/ Signed-off-by: Joel Fernandes (Google) --- Documentation/locking/locktypes.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst index 6f2c0f5b041e..656dce72f11f 100644 --- a/Documentation/locking/locktypes.rst +++ b/Documentation/locking/locktypes.rst @@ -292,7 +292,7 @@ implementations to provide priority inheritance for all lock types except the truly spinning ones. Priority inheritance on ownerless locks is obviously impossible. -For now the rwsem non-owner release excludes code which utilizes it from -being used on PREEMPT_RT enabled kernels. In same cases this can be -mitigated by disabling portions of the code, in other cases the complete -functionality has to be disabled until a workable solution has been found. +For now, a PREEMPT_RT kernel just disables code sections that perform a +non-owner release of an rwsem. In some cases, parts of the code are disabled. +In other cases, the complete functionality has to be disabled until a workable +solution has been found.