Re: [PATCH V4 1/3] kallsyms: Simplify update_iter_mod()

From: Steven Rostedt
Date: Wed Jun 06 2018 - 14:37:35 EST


On Wed, 6 Jun 2018 15:13:02 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Wed, Jun 06, 2018 at 03:54:09PM +0300, Adrian Hunter wrote:
> > The logic in update_iter_mod() is overcomplicated and gets worse every time
> > another get_ksymbol_* function is added.
> >
> > In preparation for adding another get_ksymbol_* function, simplify logic in
> > update_iter_mod().
> >
> > Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> > Acked-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Both Daniel and Steven touched this function last year, let's also Cc
> them.

Thanks for Ccing me. I tested the patch to make sure my changes still
work and they do:

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve


>
> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>