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


Groups > linux.kernel > #1661907

Re: [PATCH v2] refcount: Create unchecked atomic_t implementation

From Manfred Spraul <manfred@colorfullife.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] refcount: Create unchecked atomic_t implementation
Date 2017-06-09 06:30 +0200
Message-ID <tQjIB-5hD-1@gated-at.bofh.it> (permalink)
References <tPVPX-6Nn-3@gated-at.bofh.it> <tPZAf-Nh-29@gated-at.bofh.it> <tQ0wh-1oo-1@gated-at.bofh.it> <tQbUJ-nj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Davidlohr,

On 06/08/2017 10:09 PM, Davidlohr Bueso wrote:
>
> Yes, this would be a prerequisite for ipc; which I initially thought 
> didn't
> take a performance hit.
>
Did you see a regression for ipc?

The fast paths don't use the refcount, it is only used for rare situations:
- GETALL, SETALL for large arrays
- alloc undo

--
     Manfred

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


Thread

[PATCH v2] refcount: Create unchecked atomic_t implementation Kees Cook <keescook@chromium.org> - 2017-06-08 05:00 +0200
  Re: [PATCH v2] refcount: Create unchecked atomic_t implementation Greg KH <gregkh@linuxfoundation.org> - 2017-06-08 08:00 +0200
  Re: [PATCH v2] refcount: Create unchecked atomic_t implementation Christoph Hellwig <hch@infradead.org> - 2017-06-08 09:00 +0200
    RE: [PATCH v2] refcount: Create unchecked atomic_t implementation "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-06-08 10:00 +0200
      Re: [PATCH v2] refcount: Create unchecked atomic_t implementation Davidlohr Bueso <dave@stgolabs.net> - 2017-06-08 22:10 +0200
        Re: [PATCH v2] refcount: Create unchecked atomic_t implementation Manfred Spraul <manfred@colorfullife.com> - 2017-06-09 06:30 +0200
          Re: [PATCH v2] refcount: Create unchecked atomic_t implementation Peter Zijlstra <peterz@infradead.org> - 2017-06-09 09:30 +0200

csiph-web