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

From
David Howells <dhowells@redhat.com>
Date
2016-06-09 14:41:09
Also in
linux-arch, linux-s390, linux-sh, lkml, sparclinux
Reply to
Peter Zijlstra, 2016-06-03
Peter Zijlstra [off-list ref] wrote:
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)
It can be done using ISO __atomic_fetch_add() and suchlike.

David
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