Re: [RFC 10/12] x86, rwsem: simplify __down_write

From
Peter Zijlstra <peterz@infradead.org>
Date
2016-06-03 22:34:39
Also in
linux-alpha, linux-s390, linux-sh, lkml, sparclinux
Reply to
Peter Zijlstra, 2016-06-03
On Fri, Jun 03, 2016 at 06:13:39PM +0200, Peter Zijlstra wrote:
So I've been playing with this again because Jason's atomic_long_t
patches made a mess of things.

(similar findings for both ia64 and s390, suggesting killing all
arch/*/include/asm/rwsem.h might actuyally be an option).
Blergh; so looking at more asm there's still a few tricks we cannot do.
So while overall size is down, some paths do end up more expensive. (It
typically boils down to creative use of condition flags, which is very
hard in C)
Thread (31 messages) 31 messages, 6 authors, last reply 2016-06-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help