Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1568686
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC][PATCH 7/7] kref: Implement using refcount_t |
| Date | 2017-01-27 22:20 +0100 |
| Message-ID | <t4m66-Rh-1@gated-at.bofh.it> (permalink) |
| References | <sDtyh-1DM-5@gated-at.bofh.it> <sDtyi-1DM-23@gated-at.bofh.it> <t41uF-56e-7@gated-at.bofh.it> <t4bDI-2M6-39@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 27, 2017 at 1:58 AM, Peter Zijlstra <peterz@infradead.org> wrote: > On Thu, Jan 26, 2017 at 03:14:41PM -0800, Kees Cook wrote: >> On Mon, Nov 14, 2016 at 9:39 AM, Peter Zijlstra <peterz@infradead.org> wrote: >> > Provide refcount_t, an atomic_t like primitive built just for >> > refcounting. >> > >> > It provides overflow and underflow checks as well as saturation >> > semantics such that when it overflows, we'll never attempt to free it >> > again, ever. >> > >> > Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> >> >> Hi! >> >> I see the other 6 patches from this series are in -next, but the >> refcount_t implementation is still missing. What's needed to land this >> in -next? It's blocking sending the atomic_t -> refcount_t patches, >> which will likely all go through various maintainers, so we need to >> have refcount_t first. :) > > Nothing much, except lack of time. I spend the last several days hunting > bugs, that trumps new features on my todo list. Totally understood. I was just trying to see if there was anything I could help with for it. Are you expecting it to change much from your original posted version? -Kees -- Kees Cook Nexus Security
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC][PATCH 7/7] kref: Implement using refcount_t Kees Cook <keescook@chromium.org> - 2017-01-27 00:20 +0100
Re: [RFC][PATCH 7/7] kref: Implement using refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-01-27 11:10 +0100
Re: [RFC][PATCH 7/7] kref: Implement using refcount_t Kees Cook <keescook@chromium.org> - 2017-01-27 22:20 +0100
Re: [RFC][PATCH 7/7] kref: Implement using refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-01-30 14:50 +0100
csiph-web