All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
@ 2020-03-22  2:19 ` Joel Fernandes (Google)
  0 siblings, 0 replies; 10+ messages in thread
From: Joel Fernandes (Google) @ 2020-03-22  2:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Joel Fernandes (Google),
	Ingo Molnar, Jonathan Corbet, linux-doc, 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, netdev, Oleg Nesterov,
	Davidlohr Bueso, Michael Ellerman, Arnd Bergmann, linuxppc-dev

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) <joel@joelfernandes.org>
---
 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.
-- 
2.25.1.696.g5e7596f4ac-goog


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
@ 2020-03-22  2:19 ` Joel Fernandes (Google)
  0 siblings, 0 replies; 10+ messages in thread
From: Joel Fernandes (Google) @ 2020-03-22  2:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-doc, Peter Zijlstra, Sebastian Andrzej Siewior, netdev,
	Joel Fernandes (Google),
	Will Deacon, Thomas Gleixner, Davidlohr Bueso, Arnd Bergmann,
	Jonathan Corbet, Ingo Molnar, Ingo Molnar, Paul E . McKenney,
	linuxppc-dev, Steven Rostedt, Bjorn Helgaas, Kurt Schwemmer,
	linux-usb@vger.kernel.org Kalle Valo,
	linux-pci@vger.kernel.org Felipe Balbi, Logan Gunthorpe,
	Randy Dunlap, linux-wireless, Oleg Nesterov, Greg Kroah-Hartman,
	Linus Torvalds, David S. Miller

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) <joel@joelfernandes.org>
---
 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.
-- 
2.25.1.696.g5e7596f4ac-goog


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
  2020-03-22  2:19 ` Joel Fernandes (Google)
@ 2020-03-22  6:51   ` Kalle Valo
  -1 siblings, 0 replies; 10+ messages in thread
From: Kalle Valo @ 2020-03-22  6:51 UTC (permalink / raw)
  To: Joel Fernandes (Google)
  Cc: linux-kernel, Ingo Molnar, Jonathan Corbet, linux-doc,
	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, David S. Miller, linux-wireless, netdev,
	Oleg Nesterov, Davidlohr Bueso, Michael Ellerman, Arnd Bergmann,
	linuxppc-dev

"Joel Fernandes (Google)" <joel@joelfernandes.org> writes:

> 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) <joel@joelfernandes.org>

There's something wrong with your linux-pci and linux-usb addresses:

	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,


	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,


-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
@ 2020-03-22  6:51   ` Kalle Valo
  0 siblings, 0 replies; 10+ messages in thread
From: Kalle Valo @ 2020-03-22  6:51 UTC (permalink / raw)
  To: Joel Fernandes (Google)
  Cc: linux-doc, Peter Zijlstra, Sebastian Andrzej Siewior,
	linux-kernel, netdev, Will Deacon, Thomas Gleixner,
	Davidlohr Bueso, Arnd Bergmann, Jonathan Corbet, Ingo Molnar,
	Ingo Molnar, Paul E . McKenney, Steven Rostedt, Bjorn Helgaas,
	Kurt Schwemmer, linux-pci@vger.kernel.org Felipe Balbi,
	.ozlabs.org, Logan Gunthorpe, Randy Dunlap, linux-wireless,
	Oleg Nesterov, linuxppc-dev, Greg Kroah-Hartman, Linus Torvalds,
	David S. Miller

"Joel Fernandes (Google)" <joel@joelfernandes.org> writes:

> 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) <joel@joelfernandes.org>

There's something wrong with your linux-pci and linux-usb addresses:

	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,


	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,


-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
  2020-03-22  6:51   ` Kalle Valo
@ 2020-03-23 18:23     ` Joel Fernandes
  -1 siblings, 0 replies; 10+ messages in thread
From: Joel Fernandes @ 2020-03-23 18:23 UTC (permalink / raw)
  To: Kalle Valo
  Cc: linux-kernel, Ingo Molnar, Jonathan Corbet, linux-doc,
	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, David S. Miller, linux-wireless, netdev,
	Oleg Nesterov, Davidlohr Bueso, Michael Ellerman, Arnd Bergmann,
	linuxppc-dev

On Sun, Mar 22, 2020 at 08:51:15AM +0200, Kalle Valo wrote:
> "Joel Fernandes (Google)" <joel@joelfernandes.org> writes:
> 
> > 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) <joel@joelfernandes.org>
> 
> There's something wrong with your linux-pci and linux-usb addresses:
> 
> 	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,
> 
> 
> 	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,

Not sure. It appears fine in the archive. Thomas, let me know if you wanted
me to resend the diff patch. Hopefully it squashed fine into your original
patch.

thanks,

 - Joel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
@ 2020-03-23 18:23     ` Joel Fernandes
  0 siblings, 0 replies; 10+ messages in thread
From: Joel Fernandes @ 2020-03-23 18:23 UTC (permalink / raw)
  To: Kalle Valo
  Cc: linux-doc, Peter Zijlstra, Sebastian Andrzej Siewior,
	linux-kernel, netdev, Will Deacon, Thomas Gleixner,
	Davidlohr Bueso, Arnd Bergmann, Jonathan Corbet, Ingo Molnar,
	Ingo Molnar, Paul E . McKenney, linuxppc-dev, Steven Rostedt,
	Bjorn Helgaas, Kurt Schwemmer,
	linux-pci@vger.kernel.org Felipe Balbi, Logan Gunthorpe,
	Randy Dunlap, linux-wireless, Oleg Nesterov, Greg Kroah-Hartman,
	Linus Torvalds, David S. Miller

On Sun, Mar 22, 2020 at 08:51:15AM +0200, Kalle Valo wrote:
> "Joel Fernandes (Google)" <joel@joelfernandes.org> writes:
> 
> > 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) <joel@joelfernandes.org>
> 
> There's something wrong with your linux-pci and linux-usb addresses:
> 
> 	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,
> 
> 
> 	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,

Not sure. It appears fine in the archive. Thomas, let me know if you wanted
me to resend the diff patch. Hopefully it squashed fine into your original
patch.

thanks,

 - Joel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
  2020-03-23 18:23     ` Joel Fernandes
@ 2020-03-24  8:15       ` Will Deacon
  -1 siblings, 0 replies; 10+ messages in thread
From: Will Deacon @ 2020-03-24  8:15 UTC (permalink / raw)
  To: Joel Fernandes
  Cc: Kalle Valo, linux-kernel, Ingo Molnar, Jonathan Corbet,
	linux-doc, Thomas Gleixner, Peter Zijlstra, 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, David S. Miller, linux-wireless, netdev,
	Oleg Nesterov, Davidlohr Bueso, Michael Ellerman, Arnd Bergmann,
	linuxppc-dev

On Mon, Mar 23, 2020 at 02:23:49PM -0400, Joel Fernandes wrote:
> On Sun, Mar 22, 2020 at 08:51:15AM +0200, Kalle Valo wrote:
> > "Joel Fernandes (Google)" <joel@joelfernandes.org> writes:
> > 
> > > 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) <joel@joelfernandes.org>
> > 
> > There's something wrong with your linux-pci and linux-usb addresses:
> > 
> > 	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,
> > 
> > 
> > 	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,
> 
> Not sure. It appears fine in the archive.

Hmm, I don't think it does. Here's the copy from LKML:

https://lore.kernel.org/lkml/20200322021938.175736-1-joel@joelfernandes.org/

Which works because it's in the To: correctly. But both linux-pci and
linux-usb were *not* CC'd:

"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>
"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>

and searching for the message in the linux-pci archives doesn't find it:

https://lore.kernel.org/linux-pci/?q=Reword+and+clarify+better+about+the+rwsem+non-owner+release+issue

So it looks like there is an issue with your mail setup.

Will

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
@ 2020-03-24  8:15       ` Will Deacon
  0 siblings, 0 replies; 10+ messages in thread
From: Will Deacon @ 2020-03-24  8:15 UTC (permalink / raw)
  To: Joel Fernandes
  Cc: linux-doc, Peter Zijlstra, Sebastian Andrzej Siewior,
	linux-kernel, Thomas Gleixner, Davidlohr Bueso, Arnd Bergmann,
	Jonathan Corbet, Ingo Molnar, Linus Torvalds, Ingo Molnar,
	Paul E . McKenney, linuxppc-dev, Steven Rostedt, Bjorn Helgaas,
	Kurt Schwemmer, Kalle Valo,
	linux-pci@vger.kernel.org Felipe Balbi, Greg Kroah-Hartman,
	Randy Dunlap, linux-wireless, Oleg Nesterov, netdev,
	Logan Gunthorpe, David S. Miller

On Mon, Mar 23, 2020 at 02:23:49PM -0400, Joel Fernandes wrote:
> On Sun, Mar 22, 2020 at 08:51:15AM +0200, Kalle Valo wrote:
> > "Joel Fernandes (Google)" <joel@joelfernandes.org> writes:
> > 
> > > 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) <joel@joelfernandes.org>
> > 
> > There's something wrong with your linux-pci and linux-usb addresses:
> > 
> > 	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,
> > 
> > 
> > 	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,
> 
> Not sure. It appears fine in the archive.

Hmm, I don't think it does. Here's the copy from LKML:

https://lore.kernel.org/lkml/20200322021938.175736-1-joel@joelfernandes.org/

Which works because it's in the To: correctly. But both linux-pci and
linux-usb were *not* CC'd:

"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>
"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>

and searching for the message in the linux-pci archives doesn't find it:

https://lore.kernel.org/linux-pci/?q=Reword+and+clarify+better+about+the+rwsem+non-owner+release+issue

So it looks like there is an issue with your mail setup.

Will

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
  2020-03-24  8:15       ` Will Deacon
@ 2020-03-24 18:26         ` Joel Fernandes
  -1 siblings, 0 replies; 10+ messages in thread
From: Joel Fernandes @ 2020-03-24 18:26 UTC (permalink / raw)
  To: Will Deacon
  Cc: Kalle Valo, linux-kernel, Ingo Molnar, Jonathan Corbet,
	linux-doc, Thomas Gleixner, Peter Zijlstra, 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, David S. Miller, linux-wireless, netdev,
	Oleg Nesterov, Davidlohr Bueso, Michael Ellerman, Arnd Bergmann,
	linuxppc-dev

On Tue, Mar 24, 2020 at 08:15:39AM +0000, Will Deacon wrote:
> On Mon, Mar 23, 2020 at 02:23:49PM -0400, Joel Fernandes wrote:
> > On Sun, Mar 22, 2020 at 08:51:15AM +0200, Kalle Valo wrote:
> > > "Joel Fernandes (Google)" <joel@joelfernandes.org> writes:
> > > 
> > > > 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) <joel@joelfernandes.org>
> > > 
> > > There's something wrong with your linux-pci and linux-usb addresses:
> > > 
> > > 	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,
> > > 
> > > 
> > > 	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,
> > 
> > Not sure. It appears fine in the archive.
> 
> Hmm, I don't think it does. Here's the copy from LKML:
> 
> https://lore.kernel.org/lkml/20200322021938.175736-1-joel@joelfernandes.org/
> 
> Which works because it's in the To: correctly. But both linux-pci and
> linux-usb were *not* CC'd:
> 
> "linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>
> "linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>
> 
> and searching for the message in the linux-pci archives doesn't find it:
> 
> https://lore.kernel.org/linux-pci/?q=Reword+and+clarify+better+about+the+rwsem+non-owner+release+issue
> 
> So it looks like there is an issue with your mail setup.

Hi Will and Kalle,
Thank you for confirming it. You are right, the archive shows the issue. I
will double check my client and see what's going on.

thanks,

 - Joel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] Documentation: Clarify better about the rwsem non-owner release issue
@ 2020-03-24 18:26         ` Joel Fernandes
  0 siblings, 0 replies; 10+ messages in thread
From: Joel Fernandes @ 2020-03-24 18:26 UTC (permalink / raw)
  To: Will Deacon
  Cc: linux-doc, Peter Zijlstra, Sebastian Andrzej Siewior,
	linux-kernel, Thomas Gleixner, Davidlohr Bueso, Arnd Bergmann,
	Jonathan Corbet, Ingo Molnar, Linus Torvalds, Ingo Molnar,
	Paul E . McKenney, linuxppc-dev, Steven Rostedt, Bjorn Helgaas,
	Kurt Schwemmer, Kalle Valo,
	linux-pci@vger.kernel.org Felipe Balbi, Greg Kroah-Hartman,
	Randy Dunlap, linux-wireless, Oleg Nesterov, netdev,
	Logan Gunthorpe, David S. Miller

On Tue, Mar 24, 2020 at 08:15:39AM +0000, Will Deacon wrote:
> On Mon, Mar 23, 2020 at 02:23:49PM -0400, Joel Fernandes wrote:
> > On Sun, Mar 22, 2020 at 08:51:15AM +0200, Kalle Valo wrote:
> > > "Joel Fernandes (Google)" <joel@joelfernandes.org> writes:
> > > 
> > > > 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) <joel@joelfernandes.org>
> > > 
> > > There's something wrong with your linux-pci and linux-usb addresses:
> > > 
> > > 	"linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>,
> > > 
> > > 
> > > 	"linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>,
> > 
> > Not sure. It appears fine in the archive.
> 
> Hmm, I don't think it does. Here's the copy from LKML:
> 
> https://lore.kernel.org/lkml/20200322021938.175736-1-joel@joelfernandes.org/
> 
> Which works because it's in the To: correctly. But both linux-pci and
> linux-usb were *not* CC'd:
> 
> "linux-usb@vger.kernel.org Kalle Valo" <kvalo@codeaurora.org>
> "linux-pci@vger.kernel.org Felipe Balbi" <balbi@kernel.org>
> 
> and searching for the message in the linux-pci archives doesn't find it:
> 
> https://lore.kernel.org/linux-pci/?q=Reword+and+clarify+better+about+the+rwsem+non-owner+release+issue
> 
> So it looks like there is an issue with your mail setup.

Hi Will and Kalle,
Thank you for confirming it. You are right, the archive shows the issue. I
will double check my client and see what's going on.

thanks,

 - Joel


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-03-24 18:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22  2:19 [PATCH] Documentation: Clarify better about the rwsem non-owner release issue Joel Fernandes (Google)
2020-03-22  2:19 ` Joel Fernandes (Google)
2020-03-22  6:51 ` Kalle Valo
2020-03-22  6:51   ` Kalle Valo
2020-03-23 18:23   ` Joel Fernandes
2020-03-23 18:23     ` Joel Fernandes
2020-03-24  8:15     ` Will Deacon
2020-03-24  8:15       ` Will Deacon
2020-03-24 18:26       ` Joel Fernandes
2020-03-24 18:26         ` Joel Fernandes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.