Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1723259 > unrolled thread
| Started by | Elena Reshetova <elena.reshetova@intel.com> |
|---|---|
| First post | 2017-08-30 14:30 +0200 |
| Last post | 2017-09-01 19:10 +0200 |
| Articles | 3 on this page of 23 — 5 participants |
Back to article view | Back to linux.kernel
[PATCH 00/15] v5 kernel core pieces refcount conversions Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
[PATCH 05/15] sched/task_struct: convert task_struct.usage to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
[PATCH 10/15] uprobes: convert uprobe.ref to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
[PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Thomas Gleixner <tglx@linutronix.de> - 2017-09-01 09:50 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-09-01 11:40 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Thomas Gleixner <tglx@linutronix.de> - 2017-09-01 11:50 +0200
RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-09-01 13:00 +0200
RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-09-01 13:10 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-09-01 14:40 +0200
RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-09-01 15:30 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-09-01 15:40 +0200
RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-09-01 19:10 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-09-01 21:20 +0200
RE: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-09-04 12:40 +0200
Re: [PATCH 14/15] futex: convert futex_pi_state.refcount to refcount_t Peter Zijlstra <peterz@infradead.org> - 2017-09-04 14:10 +0200
[PATCH 07/15] perf: convert perf_event_context.refcount to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
[PATCH 03/15] sched: convert user_struct.__count to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
[PATCH 11/15] nsproxy: convert nsproxy.count to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-08-30 14:30 +0200
Re: [PATCH 00/15] v5 kernel core pieces refcount conversions Kees Cook <keescook@chromium.org> - 2017-09-01 01:50 +0200
Re: [PATCH 00/15] v5 kernel core pieces refcount conversions Peter Zijlstra <peterz@infradead.org> - 2017-09-01 11:50 +0200
Re: [PATCH 00/15] v5 kernel core pieces refcount conversions Kees Cook <keescook@chromium.org> - 2017-09-01 19:00 +0200
RE: [PATCH 00/15] v5 kernel core pieces refcount conversions "Reshetova, Elena" <elena.reshetova@intel.com> - 2017-09-01 19:10 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Date | 2017-09-01 11:50 +0200 |
| Message-ID | <ukQKm-25K-27@gated-at.bofh.it> |
| In reply to | #1724678 |
On Thu, Aug 31, 2017 at 04:48:00PM -0700, Kees Cook wrote: > On Wed, Aug 30, 2017 at 5:22 AM, Elena Reshetova > <elena.reshetova@intel.com> wrote: > > Now we have at least x86 support for ARCH_HAS_REFCOUNT merged and > > arm and others on their way. > > > > Changes in v5: > > * Kees catched that the following changes in > > perf_event_context.refcount and futex_pi_state.refcount > > are not correct now when ARCH_HAS_REFCOUNT is enabled: > > - WARN_ON(!atomic_inc_not_zero(refcount)); > > + refcount_inc(refcount); > > So they are now changed back to using refcount_inc_not_zero. > > Thanks! > > Reviewed-by: Kees Cook <keescook@chromium.org> > > Andrew, are you able to carry these patches in -mm, since they span a > bunch of core kernel areas? No.. these patches should go through the regular trees that maintain these various parts.
[toc] | [prev] | [next] | [standalone]
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Date | 2017-09-01 19:00 +0200 |
| Message-ID | <ukXsu-7Iv-1@gated-at.bofh.it> |
| In reply to | #1724923 |
On Fri, Sep 1, 2017 at 2:48 AM, Peter Zijlstra <peterz@infradead.org> wrote: > On Thu, Aug 31, 2017 at 04:48:00PM -0700, Kees Cook wrote: >> On Wed, Aug 30, 2017 at 5:22 AM, Elena Reshetova >> <elena.reshetova@intel.com> wrote: >> > Now we have at least x86 support for ARCH_HAS_REFCOUNT merged and >> > arm and others on their way. >> > >> > Changes in v5: >> > * Kees catched that the following changes in >> > perf_event_context.refcount and futex_pi_state.refcount >> > are not correct now when ARCH_HAS_REFCOUNT is enabled: >> > - WARN_ON(!atomic_inc_not_zero(refcount)); >> > + refcount_inc(refcount); >> > So they are now changed back to using refcount_inc_not_zero. >> >> Thanks! >> >> Reviewed-by: Kees Cook <keescook@chromium.org> >> >> Andrew, are you able to carry these patches in -mm, since they span a >> bunch of core kernel areas? > > No.. these patches should go through the regular trees that maintain > these various parts. Okay, sounds fine. Elena, can you split these up? (You'll probably have to examine MAINTAINERS and/or git history for each patch...) -Kees -- Kees Cook Pixel Security
[toc] | [prev] | [next] | [standalone]
| From | "Reshetova, Elena" <elena.reshetova@intel.com> |
|---|---|
| Date | 2017-09-01 19:10 +0200 |
| Message-ID | <ukXCa-81A-17@gated-at.bofh.it> |
| In reply to | #1725227 |
> On Fri, Sep 1, 2017 at 2:48 AM, Peter Zijlstra <peterz@infradead.org> wrote: > > On Thu, Aug 31, 2017 at 04:48:00PM -0700, Kees Cook wrote: > >> On Wed, Aug 30, 2017 at 5:22 AM, Elena Reshetova > >> <elena.reshetova@intel.com> wrote: > >> > Now we have at least x86 support for ARCH_HAS_REFCOUNT merged and > >> > arm and others on their way. > >> > > >> > Changes in v5: > >> > * Kees catched that the following changes in > >> > perf_event_context.refcount and futex_pi_state.refcount > >> > are not correct now when ARCH_HAS_REFCOUNT is enabled: > >> > - WARN_ON(!atomic_inc_not_zero(refcount)); > >> > + refcount_inc(refcount); > >> > So they are now changed back to using refcount_inc_not_zero. > >> > >> Thanks! > >> > >> Reviewed-by: Kees Cook <keescook@chromium.org> > >> > >> Andrew, are you able to carry these patches in -mm, since they span a > >> bunch of core kernel areas? > > > > No.. these patches should go through the regular trees that maintain > > these various parts. > > Okay, sounds fine. Elena, can you split these up? (You'll probably > have to examine MAINTAINERS and/or git history for each patch...) Well, I can do this, but patches are already fully independent for cherry-pick and all maintainers should be in the CC list, so I was hoping people can pull into their trees from this series. But if people want to split, I can do a split... Best Regards, Elena. > > -Kees > > -- > Kees Cook > Pixel Security
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.kernel
csiph-web