RE: [PATCH 13/15] kernel: convert numa_group.refcount from atomic_t to refcount_t

Reshetova, Elena
2017-07-07T10:19:39Z

> On Fri, Jul 07, 2017 at 12:04:27PM +0300, Elena Reshetova wrote:
> > refcount_t type and corresponding API should be
> > used instead of atomic_t when the variable is used as
> > a reference counter. This allows to avoid accidental
> > refcounter overflows that might lead to use-after-free
> > situations.
> >
> > Signed-off-by: Elena Reshetova <elena.reshetova-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> > Signed-off-by: Hans Liljestrand <ishkamiel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> > Signed-off-by: Kees Cook <keescook-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
> > Signed-off-by: David Windsor <dwindsor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> Invalid SoB..
>
> > Subject: [PATCH 13/15] kernel: convert numa_group.refcount from atomic_t to
> refcount_t
>
> > ---
> > kernel/sched/fair.c | 8 ++++----
> > 1 file changed, 4 insertions(+), 4 deletions(-)
>
> Invalid Subject prefix too, scheduler patches get to have "sched:"

OK, will fix.

Best Regards,
Elena.