Thread (116 messages) 116 messages, 11 authors, 2017-07-10

Re: [PATCH v2 0/9] Remove spin_unlock_wait()

From: Ingo Molnar <mingo@kernel.org>
Date: 2017-07-07 08:06:29
Also in: linux-arch, lkml, netfilter-devel

* Peter Zijlstra [off-list ref] wrote:
quoted
It might even be that this is the defined semantics of spin_unlock_wait().
As is, spin_unlock_wait() is somewhat ill defined. IIRC it grew from an 
optimization by Oleg and subsequently got used elsewhere. And it being the 
subtle bugger it is, there were bugs.
I believe the historical, original spin_unlock_wait() came from early SMP 
optimizations of the networking code - and then spread elsewhere, step by step. 
All but one of the networking uses went away since then - so I don't think there's 
any original usecase left.

Thanks,

	Ingo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help