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: 1259566 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=joelfernandes.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=joelfernandes.org header.i=@joelfernandes.org header.a=rsa-sha256 header.s=google header.b=wuN8YhHs; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 48lLpp6bC0z9sPJ for ; Sun, 22 Mar 2020 13:21:05 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728236AbgCVCTv (ORCPT ); Sat, 21 Mar 2020 22:19:51 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44057 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727944AbgCVCTu (ORCPT ); Sat, 21 Mar 2020 22:19:50 -0400 Received: by mail-qt1-f195.google.com with SMTP id y24so8669513qtv.11 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=LhFHts0TCbO74lu3ri1NVU4DJh6jOge/SZvATpUNxMvqQeF+MauXRMc6ijxuvc8gGF caJaTZzZ86p6b79aMlTGBWCZ13dGfL56ZVI3Bpsb4W3BJQZIcXmqKRxyWGZZjzEqgIxf 3XS9akgnXZ6jmFGKmMSe5aAY0vTkhwOBalsEkUROvE5RkimlWuqmojLda7ZOl7UbwGhm BbI/F1L7//1WMigx/955yroi3uO7ic8sU4mD1YUNg1eGeTdtce4V/aesXF6LLRUEdiOh IUuS4KjivIsNOWbVF2mjcZGC8fS7rPfXv7U8cpGE4W8YHiNxx+aDZzUh42KQdTnHzUGT pGUg== X-Gm-Message-State: ANhLgQ0QQUe+bTCBBnA45gCxJPoSK2W2wd2A1purrEF3uLSAWzO1UlEb kX9Zcbm5lI3ajvBpoWAdPQizkA== 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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.