Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1660766
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] refcount: Create unchecked atomic_t implementation |
| Date | 2017-06-08 08:00 +0200 |
| Message-ID | <tPYEa-d6-7@gated-at.bofh.it> (permalink) |
| References | <tPVPX-6Nn-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jun 07, 2017 at 07:58:31PM -0700, Kees Cook wrote: > Many subsystems will not use refcount_t unless there is a way to build the > kernel so that there is no regression in speed compared to atomic_t. This > adds CONFIG_REFCOUNT_FULL to enable the full refcount_t implementation > which has the validation but is slightly slower. When not enabled, > refcount_t uses the basic unchecked atomic_t routines, which results in > no code changes compared to just using atomic_t directly. > > Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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