Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424584

Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper acquire/release barrier

From Davidlohr Bueso <dave@stgolabs.net>
Newsgroups linux.kernel
Subject Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper acquire/release barrier
Date 2016-06-17 03:20 +0200
Message-ID <rKQBX-87A-3@gated-at.bofh.it> (permalink)
References (1 earlier) <rK5jH-2zl-3@gated-at.bofh.it> <rKmkx-52w-7@gated-at.bofh.it> <rKmDU-5r2-19@gated-at.bofh.it> <rKnJE-62T-15@gated-at.bofh.it> <rKo30-69o-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 15 Jun 2016, Peter Zijlstra wrote:

>Yeah, see a few patches further in this series, where he guards a
>variables with the osq_lock.

So one problem I have with all this is that if we are hardening osq_lock/unlock()
because of some future use that is specific to rwsems, then we will immediately
be hurting mutexes for no good reason.

Thanks,
Davidlohr

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper acquire/release barrier Waiman Long <Waiman.Long@hpe.com> - 2016-06-15 00:50 +0200
  Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Boqun Feng <boqun.feng@gmail.com> - 2016-06-15 10:10 +0200
    Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Peter Zijlstra <peterz@infradead.org> - 2016-06-15 19:20 +0200
    Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Boqun Feng <boqun.feng@gmail.com> - 2016-06-16 04:20 +0200
      Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Will Deacon <will.deacon@arm.com> - 2016-06-16 12:20 +0200
      Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Boqun Feng <boqun.feng@gmail.com> - 2016-06-17 02:50 +0200
        Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Will Deacon <will.deacon@arm.com> - 2016-06-17 17:50 +0200
          Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Boqun Feng <boqun.feng@gmail.com> - 2016-06-18 10:50 +0200
            Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Will Deacon <will.deacon@arm.com> - 2016-06-20 10:10 +0200
  Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Davidlohr Bueso <dave@stgolabs.net> - 2016-06-15 19:00 +0200
    Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Peter Zijlstra <peterz@infradead.org> - 2016-06-15 19:20 +0200
      Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Davidlohr Bueso <dave@stgolabs.net> - 2016-06-15 20:30 +0200
        Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Peter Zijlstra <peterz@infradead.org> - 2016-06-15 20:50 +0200
          Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Davidlohr Bueso <dave@stgolabs.net> - 2016-06-15 21:00 +0200
          Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Davidlohr Bueso <dave@stgolabs.net> - 2016-06-17 03:20 +0200
            Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Davidlohr Bueso <dave@stgolabs.net> - 2016-06-17 18:30 +0200
              Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Davidlohr Bueso <dave@stgolabs.net> - 2016-06-17 18:50 +0200
      Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper  acquire/release barrier Peter Zijlstra <peterz@infradead.org> - 2016-06-16 00:00 +0200

csiph-web