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


Groups > linux.kernel > #1228934

Re: [PATCH 2/5] locking/mutex: Relax to atomic/release semantics

Path csiph.com!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/5] locking/mutex: Relax to atomic/release semantics
Date Sun, 20 Sep 2015 20:30:01 +0200
Message-ID <qaRx7-7Lc-9@gated-at.bofh.it> (permalink)
References <qaJSW-5lZ-5@gated-at.bofh.it> <qaJSW-5lZ-15@gated-at.bofh.it>
X-Original-To Davidlohr Bueso <dave@stgolabs.net>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hgh/s+AxntuTyk3RXzKt1qlRWbawwdAZ4rY57X7FnIo=; b=pIc5bMemeSP7MXdZcRV+nBk8SMq9MPRHpdIRIy/Ndehv4HI+fo41PYImwK4ouMnqu3 Xtp3VDJFyV/S6jfpUPrt3g4QSW8LyPMhxA9EIbbaDxooDXsh49T603EGwqk/iu93UO+X 2X30XkU9ktI6Pie5xOyI8i4GqpLfCclit6uinylqhxWYDua0Kzgj2MVfRCaEARKAzOKF JG4zBGvpILvNuGjGzCkSUZaKmHsBabOiKprZuwaBArmysA+3I08rJX1oQZ4LVNeVC/WM ntRWhVICLLGUvT/Ev5GFA6i9Ybqo2cz1jmAHokFiyK/1V3eE3pbf5rucziQLv05GWGra H+lA==
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hgh/s+AxntuTyk3RXzKt1qlRWbawwdAZ4rY57X7FnIo=; b=Uwi1E1WKIG0LwjAgWSmA9CMjmvrS53K/QkKwA6KaVVDDb2RoiTUlZU4f+Y2IN9LIqL bsJ11vUoYfWOB5742wEtZ21hqg1esc5lSusQnZKi1HfvG+qnVt1pI6m8f/9ooU916Q2d oFUJHFUFY3hVZcU60sN1B4QDJH499CnQVBQMw=
MIME-Version 1.0
X-Received by 10.50.79.197 with SMTP id l5mr7624568igx.93.1442773361592; Sun, 20 Sep 2015 11:22:41 -0700 (PDT)
X-Google-Sender-Auth ycEA0AZgDOQy3LFBMmIklsxppTM
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 14
Organization linux.* mail to news gateway
X-Original-Cc Peter Zijlstra <peterz@infradead.org>, Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Andrew Morton <akpm@linux-foundation.org>, Will Deacon <will.deacon@arm.com>, "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Davidlohr Bueso <dbueso@suse.de>
X-Original-Date Sun, 20 Sep 2015 11:22:41 -0700
X-Original-Message-ID <CA+55aFzxoz-WW8tzYCBezU9gvHNY7yNeC-o2ReRmD7XKNw2O+w@mail.gmail.com>
X-Original-References <1442743911-25366-1-git-send-email-dave@stgolabs.net> <1442743911-25366-3-git-send-email-dave@stgolabs.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1228934

Show key headers only | View raw


On Sun, Sep 20, 2015 at 3:11 AM, Davidlohr Bueso <dave@stgolabs.net> wrote:
> ... by using acquire semantics where appropriate As such, weakly
> ordered archs can benefit from more relaxed use of barriers when
> issuing atomics.

Subject line is wrong. I'm assuming it should be acquire/release
rather than atomic/release.

                    Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH 0/5] locking: Adopt relaxed barrier semantics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-20 12:20 +0200
  [PATCH 2/5] locking/mutex: Relax to atomic/release semantics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-20 12:20 +0200
    Re: [PATCH 2/5] locking/mutex: Relax to atomic/release semantics Linus Torvalds <torvalds@linux-foundation.org> - 2015-09-20 20:30 +0200
      Re: [PATCH 2/5] locking/mutex: Relax to atomic/release semantics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-20 20:50 +0200
  [PATCH 5/5] locking/mcs: Relax to atomic/release semantics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-20 12:20 +0200
    Re: [PATCH 5/5] locking/mcs: Relax to atomic/release semantics Linus Torvalds <torvalds@linux-foundation.org> - 2015-09-20 20:30 +0200
  [PATCH 1/5] asm-generic: Add _{relaxed|acquire|release}() variants for inc/dec atomics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-20 12:20 +0200
  [PATCH 3/5] locking/rtmutex: Relax to acquire/release semantics Davidlohr Bueso <dave@stgolabs.net> - 2015-09-20 12:20 +0200

csiph-web