Re: [PATCH bpf-next 05/11] bpf: Macrofy stack state copy

2018-09-12 Thread Alexei Starovoitov
On Tue, Sep 11, 2018 at 05:36:34PM -0700, Joe Stringer wrote: > An upcoming commit will need very similar copy/realloc boilerplate, so > refactor the existing stack copy/realloc functions into macros to > simplify it. > > Signed-off-by: Joe Stringer Acked-by: Alexei Starovoitov

[PATCH bpf-next 05/11] bpf: Macrofy stack state copy

2018-09-11 Thread Joe Stringer
An upcoming commit will need very similar copy/realloc boilerplate, so refactor the existing stack copy/realloc functions into macros to simplify it. Signed-off-by: Joe Stringer --- kernel/bpf/verifier.c | 106 -- 1 file changed, 60 insertions(+), 46 delet